-class D {
- static int a = 1;
- static int b = 2;
- static int Main ()
+// CS0118: `A.Foo(string)' is a `method group' but a `type' was expected
+// Line: 15
+
+public class A
+{
+ public static void Foo (string Setting)
{
- return (a << 1) ~ (b);
}
}
+
+class Example
+{
+ public void Main(string[] args)
+ {
+ A a = new A.Foo ("test");
+ }
+}
\ No newline at end of file