[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs1688.cs
blobf9a3db3683cfb725716a5724e9fea329f157e481
1 // CS1688: Cannot convert anonymous method block without a parameter list to delegate type `C.WithOutParam' because it has one or more `out' parameters
2 // Line: 10
4 class C
6 delegate void WithOutParam (out string value);
8 static void Main()
10 WithOutParam o = delegate
12 return;