Created
January 14, 2014 23:19
-
-
Save VladimirReshetnikov/8427915 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using N; // This using directive is unused, but cannot be simply removed | |
static class C | |
{ | |
static void Ex(this string x) { } | |
static void Foo(Action<string> x, int y) { } | |
static void Foo(Action<string> x, string y) { } | |
static void Foo(Action<string> x, object y) { } | |
static void Foo(Action<int> x, int y) { } | |
static void Main() | |
{ | |
Foo(y => Foo(x => x.Ex(), y), 0); | |
} | |
} | |
namespace N | |
{ | |
static class E | |
{ | |
public static void Ex(this int x) { } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment