[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0407-4.cs
blobbee931b71eded4f3398fd9e6dac75b4306679c6a
1 // CS0407: A method or delegate `TestDelegateA MainClass.Method(bool)' return type does not match delegate `int TestDelegateA(bool)' return type
2 // Line: 12
4 delegate int TestDelegateA (bool b);
6 public class MainClass
8 static TestDelegateA Method (bool b)
10 return Method;