Project
ReSharper
Priority
Critical
Type
Bug
Fix versions
6.0 Beta
State
Fixed
Assignee
Sergey Shkredov
Subsystem
Refactorings
Affected versions
No Affected versions
Fixed in build
6.0.2147.35  
  • Created by   Alexander Zverev
    3 years ago (10 Mar 2009 15:37)
  • Updated by   Sergey Shkredov
    12 months ago (04 May 2011 17:04)
  • Jira: RSRP-97912
    (history, comments)
 
RSRP-97912 Change signature should convert method groups to lambdas or anonimous methods (in cause of C# 2.0)
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
using System;

class B
{
  Func<T, Func<T, T>, int> GetT<T>(T t)
  {
    return (x, y) => t;
  }

  void foo()
  {
    var t1 = 1;
    var t = GetT(t1);
    t(t1, Goo);
  }

  T Goo<T>(T t)
  {
    return t;
  }
}
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments