Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git] / mcs / errors / cs1922-3.cs
blobfb4076fa92787c021e81ef9823dec5a4200bed22
1 // CS1922: A field or property `GCEventTypeMatcher' cannot be initialized with a collection object initializer because type `GCEventTypeMatcher' does not implement `System.Collections.IEnumerable' interface
2 // Line: 11
4 using System;
6 public enum GCEventType {
7 NURSERY_START
10 public class GCEventTypeMatcher {
11 private static GCEventTypeMatcher[] matcher = { new GCEventTypeMatcher () { NURSERY_START, s => TRUE } };