[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs8343.cs
blobb6aa8e83a0904e2d395c9d70d187268be95a6e9e
1 // CS8343: `S': ref structs cannot implement interfaces
2 // Line: 7
3 // Compiler options: -langversion:latest
5 using System;
7 public ref struct S : IDisposable
9 public void Dispose ()