Merge pull request #1821 from iainx/replace-getline
[mono-project.git] / mcs / errors / cs0242-2.cs
blobe865cc1f1de1b890a432950505aaec5b2baa9253
1 // CS0242: The operation in question is undefined on void pointers
2 // Line: 10
3 // Compiler options: -unsafe
5 unsafe class C
7 public static void Main ()
9 void* v = null;
10 int b = *v is string;