a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
239 B
C#
17 lines
239 B
C#
// CS0118: `A.Foo(string)' is a `method group' but a `type' was expected
|
|
// Line: 15
|
|
|
|
public class A
|
|
{
|
|
public static void Foo (string Setting)
|
|
{
|
|
}
|
|
}
|
|
|
|
class Example
|
|
{
|
|
public void Main(string[] args)
|
|
{
|
|
A a = new A.Foo ("test");
|
|
}
|
|
} |