Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gcs0208-4.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 08ab214c54cd18e6d4f01eaf28e6826b97804662 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// cs0208-4.cs : 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 one to #75772 but using a class instead of a struct.

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