a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
31 lines
278 B
C#
31 lines
278 B
C#
using System;
|
|
|
|
public class Blah {
|
|
|
|
static int Foo (string s)
|
|
{
|
|
return 2;
|
|
}
|
|
|
|
static int Foo (object o)
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
int i = Foo (null);
|
|
|
|
if (i == 1) {
|
|
Console.WriteLine ("Wrong method ");
|
|
return 1;
|
|
}
|
|
|
|
return 0;
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|