[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0572-3.cs
blob675fd7dd6b6e4379525651a2767dd57658a3eb43
1 // CS0572: `Inner': cannot reference a type through an expression. Consider using `Outer.Inner' instead
2 // Line: 18
4 public class Outer
6 public enum Inner
8 ONE,
9 TWO
13 public class C
15 public static bool Test ()
17 Outer outer = null;
18 return 0 == outer.Inner.ONE;