blob: e7040178f41d3f6b5d97e08a7c4839041cd30a4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Compiler options: -r:test-com-03-lib.dll
using System;
class X
{
void Test_PropertyOptionalParameters (C c)
{
// need to just run verifier on the method
if (c == null)
return;
Console.WriteLine (c.Value);
c.Value2 = 1;
}
public static int Main ()
{
var x = new X ();
x.Test_PropertyOptionalParameters (null);
return 0;
}
}
|