Project
ReSharper
Priority
Major
Type
Bug
Fix versions
No Fix versions
State
Open
Assignee
Olga Lobacheva
Subsystem
PSI
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Olga Lobacheva
    2 years ago (24 Feb 2009 20:00)
  • Updated by   Olga Lobacheva
    7 months ago (29 Jun 2011 19:01)
  • Jira: RSRP-96595
    (history, comments)
 
RSRP-96595 Bugs with Arguments in IInvocationInfo
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
public static class Ext
{
  public static void Method(this SomeClass bla, params Func<int, int>[] x)
  {    
  }

  public static void Method(this SomeClass bla, params Func<string, int>[] x)
  {
  }
}

public class SomeClass
{
  public void Foo()
  {
    var bla = new SomeClass();
    bla.Method(x=>x);  // 'implicitly converted to type' for this argument is incorrect (try to introduce variable)
  }
}
Comments (1)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Olga Lobacheva
  Olga Lobacheva
24 Feb 2009 20:01
2 years ago
See ArgumentsMatcher.GetParameterInstanceType