summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0208-16.cs
blob: 212860fe601341d2a9b93038d1d17f9ac81dffdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Foo'
// Line: 11
// Compiler options: -unsafe

public unsafe partial struct Foo
{
}

public unsafe partial struct Foo
{
	public Foo *foo;
	string x;
}