In ilasm/tests:
[mcs.git] / errors / cs0244.cs
blob8dc4a7b1fb6cc5c9100b3175de31ccab43e0f3b5
1 // cs0244.cs: "is" or "as" are not valid on pointer types
2 // Line: 7
3 // Compiler options: -unsafe
5 class UnsafeClass {
6 unsafe UnsafeClass (int* pointer) {
7 if (pointer is string) {}