Add support for Windows x64 Full AOT + LLVM + Interpreter on CI. (#15276)
[mono-project.git] / mcs / tests / gtest-optional-38.cs
blob1f44b036a15ee5cc6c594a28f8c9cb3e4f2c8498
1 class C
5 class Foo
7 public int SetValue (string name, string value, string defaultValue = null, bool preserveExistingCase = false)
9 return 1;
12 public int SetValue (string name, C value, C defaultValue = default(C), bool relativeToProject = true, C relativeToPath = default(C), bool mergeToMainGroup = false, string condition = null)
14 return 2;
17 public int SetValue (string name, object value, C defaultValue = null)
19 return 3;
23 class Test
25 static int Main()
27 var f = new Foo ();
28 C b = null;
29 C c = null;
31 if (f.SetValue ("a", b, c) != 2)
32 return 1;
34 return 0;