Replace SIZEOF_REGISTER with sizeof(mgreg_t) for consistency with sizeof(gpointer)
[mono.git] / mcs / errors / gcs0208-4.cs
1 // cs0208-4.cs : Cannot take the address of, get the size of, or declare a pointer to a managed type `Splay<T>.Node'
2 // Line: 10
3 // Compiler options: /unsafe
4 // similar one to #75772 but using a class instead of a struct.
5
6 public class Splay<T>
7 {
8   unsafe private class Node
9   {
10     private Node *            parent;
11     private T                 data;
12   } 
13 }
14