Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0451.cs
1 // CS0451: The `new()' constraint cannot be used with the `struct' constraint
2 // Line: 6
3
4 class C
5 {
6         public static void Foo<T>() where T : struct, new ()
7         {
8         }
9 }