summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0209.cs
blob: c1fd979d025ecdce2d5922943ea113063e518ae4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0209: The type of locals declared in a fixed statement must be a pointer type
// Line: 9
// Compiler options: -unsafe

public class A
{
        unsafe static void Main ()
        {
                fixed (string s = null)
                {
                }
        }
}