summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0244.cs
blob: ff248e6ae503b8ae77e14d23c674830a348256f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
// CS0244: The `is' operator cannot be applied to an operand of pointer type
// Line: 7
// Compiler options: -unsafe

class UnsafeClass {
        unsafe UnsafeClass (int* pointer) {
                if (pointer is string) {}
        }
}