Updated with review feedback.
[mono.git] / mcs / errors / cs1061-17.cs
1 // CS1061: Type `int' does not contain a definition for `Foo' and no extension method `Foo' of type `int' could be found. Are you missing an assembly reference?
2 // Line: 11
3
4 using System;
5
6 static class C
7 {
8         static void Main ()
9         {
10                 int i = 1;
11                 Action a = i.Foo;
12         }
13
14         static void Foo (this string s)
15         {
16         }
17 }