22 lines
280 B
C#
Raw Normal View History

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