2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / gcs1950.cs
blob707c604d113697d5eb9c44097ec9805269c79163
1 // CS1954: The best overloaded collection initalizer method `Data.Add(__arglist)' has some invalid arguments
2 // Line: 16
5 using System;
6 using System.Collections;
8 class Data : IEnumerable
10 public IEnumerator GetEnumerator () { return null; }
12 public void Add (__arglist)
17 public class Test
19 static void Main ()
21 var c = new Data { 1 };