Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0417.cs
blob4a063825daeb16090bcb71172bdb002de6645cb0
1 // CS0417: `T': cannot provide arguments when creating an instance of a variable type
2 // Line: 9
4 public class Foo<T>
5 where T : new ()
7 public T Create ()
9 return new T (8);
13 class X
15 static void Main ()