Project
ReSharper
Priority
Critical
Type
Bug
Fix versions
5.0
State
Fixed
Assignee
Olga Lobacheva
Subsystem
PSI
Affected versions
No Affected versions
Fixed in build
5.0.1648.7  
  • Created by   Vladimir Reshetnikov
    2 years ago (03 Sep 2009 21:45)
  • Updated by   Olga Lobacheva
    18 months ago (14 Jul 2010 18:52)
  • Jira: RSRP-119919
    (history, comments)
 
RSRP-119919 False error highlight for type argument
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
class C<T> where T : class { }

class A
{
    static void Main()
    {
        new A().Foo<int>(1, null); // here
    }

    void Foo<T>(object x, object y) { }
    void Foo<T>(T x, C<T> y) where T : class { }
}
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (2)
 
Issue has no comments