a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
280 B
C#
22 lines
280 B
C#
class op_Addition
|
|
{
|
|
public static int Foo = 42;
|
|
|
|
public class Builder
|
|
{
|
|
public int Foo
|
|
{
|
|
get { return op_Addition.Foo; }
|
|
}
|
|
|
|
public static int operator + (Builder a, Builder b)
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
var x = new Builder ().Foo;
|
|
}
|
|
} |