a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
306 B
C#
29 lines
306 B
C#
using System;
|
|
|
|
public class Outer
|
|
{
|
|
public enum Inner
|
|
{
|
|
ONE,
|
|
TWO
|
|
}
|
|
}
|
|
|
|
public class TypeHiding
|
|
{
|
|
|
|
public static bool Test1 (Outer Outer)
|
|
{
|
|
return 0 == Outer.Inner.ONE;
|
|
}
|
|
|
|
public static bool Test2 ()
|
|
{
|
|
Outer Outer = null;
|
|
return 0 == Outer.Inner.ONE;
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
} |