Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

23 lines
307 B
C#

using System;
class TestThing
{
public int SetEnum (string a, Enum b)
{
return 0;
}
public int SetEnum (int a, Enum b)
{
return 1;
}
}
class Test
{
public static int Main (string [] args)
{
DayOfWeek? e = DayOfWeek.Monday;
TestThing t = new TestThing ();
return t.SetEnum ("hi", e);
}
}