[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0764.cs
blob4c89e72a3acbffe14c33bddaf9ff295f5ac609fa
1 // CS0764: A partial method declaration and partial method implementation must be both `unsafe' or neither
2 // Line: 11
3 // Compiler options: -unsafe
5 public partial class C
7 unsafe partial void Foo ()
11 partial void Foo ();