1 // CS1954: The best overloaded collection initalizer method `Data.Add(__arglist)' has some invalid arguments
6 using System
.Collections
;
8 class Data
: IEnumerable
10 public IEnumerator
GetEnumerator () { return null; }
12 public void Add (__arglist
)
21 var c
= new Data { 1 }
;