Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs1950.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 };