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;
|
||
|
}
|
||
|
}
|