a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
25 lines
354 B
C#
25 lines
354 B
C#
// 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;
|
|
}
|
|
}
|