Fixes the mono/tests/gc-graystack-stress test on Windows x64
[mono-project.git] / mcs / errors / cs0453-8.cs
blobf94f320bb7505c456cc2a9f4a109be1ee0b4a678
1 // CS0453: The type `dynamic' must be a non-nullable value type in order to use it as type parameter `T' in the generic type or method `Tester.Foo<T>(T)'
2 // Line: 10
4 class Tester
6 static void Foo<T> (T t) where T : struct
10 public static int Main ()
12 dynamic d = 1;
13 Foo<dynamic>(d);
14 return 0;