Merge pull request #4926 from BrzVlad/fix-tls-v5
[mono-project.git] / mcs / errors / cs0023-7.cs
blob3fa1ef6fe4b26a8d6f450a5bd399e83efd02c4dc
1 // CS0023: The `.' operator cannot be applied to operand of type `int*'
2 // Line: 8
3 // Compiler options: -unsafe
5 class C
7 static unsafe int* Foo ()
9 return (int*)0;
12 public static void Main ()
14 unsafe {
15 string s = Foo().ToString ();