[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0592-3.cs
blob5ba255466fa68639fc74f745e620bb225eb9dc3c
1 // CS0592: The attribute `System.Runtime.CompilerServices.IndexerNameAttribute' is not valid on this declaration type. It is valid on `property, indexer' declarations only
2 // Line : 6
4 using System.Runtime.CompilerServices;
6 [IndexerName("XXX")]
7 class A {
8 public static void Main () { }