Reporter | Vladimir Reshetnikov (nikov) |
---|---|
Created | Aug 20, 2010 6:47:58 PM |
Updated | Jul 8, 2011 5:46:31 PM |
Priority | Normal |
Type | Bug |
Fix versions | No Fix versions |
State | Open |
Assignee | Sergey Shkredov (serjic.shkredov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
// .NET 2.0 using System.Collections.Generic; public class A { public static List<int> Foo() { return null; } }
// .NET 4.0 class B { static void Main() { var x = A.Foo(); // Extract method from expression A.Foo() } }
Result:
class B { static void Main() { var x = Bar(); } static List Bar() // List is unresolved { return A.Foo(); } }