Updated.
[mono.git] / mcs / errors / cs0244.cs
1 // cs0244.cs: "is" or "as" are not valid on pointer types
2 // Line: 7
3 // Compiler options: -unsafe
4
5 class UnsafeClass {
6         unsafe UnsafeClass (int* pointer) {
7                 if (pointer is string) {}
8         }
9 }
10
11