1 // CS1954: The best overloaded collection initalizer method `Data.Add(ref int)' cannot have `ref' or `out' modifier
5 using System
.Collections
;
7 class Data
: IEnumerable
9 public IEnumerator
GetEnumerator () { return null; }
11 public void Add (ref int b
)
20 var c
= new Data { 1 }
;