16 lines
202 B
C#
16 lines
202 B
C#
|
// CS1736: The expression being assigned to optional parameter `s' must be a constant or default value
|
||
|
// Line: 11
|
||
|
|
||
|
struct S
|
||
|
{
|
||
|
public S ()
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class X
|
||
|
{
|
||
|
public void Foo (S s = new S ())
|
||
|
{
|
||
|
}
|
||
|
}
|