[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0023-11.cs
blob9f3d806a4fd29ee3f4733d7b2d19407d0344e591
1 // CS0023: The `-' operator cannot be applied to operand of type `A'
2 // Line: 16
5 class A
7 public static implicit operator ulong (A mask)
9 return 8;
13 class X
15 static A a = null;
16 static object o = -a;