summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0208-11.cs
blob: b5b95bc1e80f48519d0ec3897c904a7948f38333 (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: 9
// Compiler options: /unsafe

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