[sgen] Don't trigger collections during allocation of thread objects (#17970)
[mono-project.git] / mcs / errors / cs0428-3.cs
blob61b788edace1774aa9993322f60be89c6f582251
1 // CS0428: Cannot convert method group `Count' to non-delegate type `int'. Consider using parentheses to invoke the method
2 // Line: 11
4 using System.Linq;
6 public class A
8 public A ()
10 string [] test = new string [5];
11 A [] array = new A [test.Count];