[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0577.cs
blob7d87e619c24f384405d9878995b29bfb7b77d038
1 // CS0577: Conditional not valid on `MainClass.I.F()' because it is a constructor, destructor, operator or explicit interface implementation
2 // Line: 10
4 interface I
6 void F ();
9 class MainClass: I {
10 [System.Diagnostics.Conditional("DEBUG")]
11 void I.F () {}