summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0214-10.cs
blob: d666d219c18cdf3c602011e67d90f86121883683 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0214: Pointers and fixed size buffers may only be used in an unsafe context
// Line: 12
// Compiler options: -unsafe

using System;

class X {
	public unsafe int* A { set { } }
	
	void Foo ()
	{
		A = null;
	}

	static void Main () {}
}