[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs3002-11.cs
blobe1a0d558aa17b1b0936ebc8ce41260f50f5d6047
1 // CS3002: Return type of `CLSClass.Foo()' is not CLS-compliant
2 // Line: 10
3 // Compiler options: -warnaserror -warn:1
5 using System;
6 [assembly:CLSCompliant(true)]
8 public class CLSClass
10 protected ulong? Foo()
12 return 5;