[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1978-2.cs
blob9e9b33c101fcd2aa418342dcb0551d9fa037946f
1 // CS1978: An expression of type `void' cannot be used as an argument of dynamic operation
2 // Line: 9
4 class C
6 public static void Main ()
8 dynamic d = null;
9 d (Main ());