summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0213-2.cs
blob: ae72e4cd9aaf4c3eab63c12204f1a573e216537d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// CS0213: You cannot use the fixed statement to take the address of an already fixed expression
// Line: 9
// Compiler options: -unsafe

unsafe struct S
{
	public void Test ()
	{
		fixed (S* i = null) {
		}
	}
}