[jit] Fix the saving of the 'cfg->ret_var_set' flag when inlining, it was set to...
[mono.git] / mcs / errors / cs0023-7.cs
1 // CS0023: The `.' operator cannot be applied to operand of type `int*'
2 // Line: 8
3 // Compiler options: -unsafe
4
5 class C
6 {
7         static unsafe int* Foo ()
8         {
9                 return (int*)0;
10         }
11         
12         public static void Main ()
13         {
14                 unsafe {
15                         string s = Foo().ToString ();
16                 }
17         }
18 }