1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// CS1501: No overload for method `Test' takes `2' arguments // Line: 16 static class S { public static int Test (this int value) { return value; } } class M { public static void Main () { 1.Test (value: 1); } }