summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0208-12.cs
blob: 561b6fb7db2c7342cae0e19cfde6a5e270404b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type `Splay<T>.Node'
// Line: 10
// Compiler options: /unsafe
// Similar code to #75772, but without field of type T.

public class Splay<T>
{
  unsafe private struct Node
  {
    private Node *            parent;
  } 
}