|  | 
|  | 1 | +Name: Namespace | 
|  | 2 | +Definition (definition.namespace): | 
|  | 3 | +namespace Namespace { | 
|  | 4 | +  // Comment A. | 
|  | 5 | +  internal delegate void A(params int[] test); | 
|  | 6 | +  // Comment F. | 
|  | 7 | +  public struct F<T> | 
|  | 8 | +      where T : struct { | 
|  | 9 | +  } | 
|  | 10 | +  // Comment F. | 
|  | 11 | +  [Nice] | 
|  | 12 | +  private record F<T1, T2> | 
|  | 13 | +      where T1 : I1, I2, new() | 
|  | 14 | +      where T2 : I2 {} | 
|  | 15 | +  // Comment Teacher. | 
|  | 16 | +  record Teacher(string FirstName, string LastName, string Subject) : Person(FirstName, LastName); | 
|  | 17 | +  // Comment B. | 
|  | 18 | +  enum B { Ten = 10, Twenty = 20 } | 
|  | 19 | +  // Comment F. | 
|  | 20 | +  public class F : object, IAlpha, IOmega {} | 
|  | 21 | +  // Comment Class. | 
|  | 22 | +  public partial class Class<in TParam> | 
|  | 23 | +      where TParam : class ?, notnull, F ? { | 
|  | 24 | +    // Comment operator +. | 
|  | 25 | +    public static int operator +(A a) { | 
|  | 26 | +      return 0; | 
|  | 27 | +    } | 
|  | 28 | +    // Comment GetSet. | 
|  | 29 | +    uint GetSet { get; set; } | 
|  | 30 | +    // Comment Foo. | 
|  | 31 | +    static extern Foo() => bar = 0; | 
|  | 32 | +    // Comment ~Class. | 
|  | 33 | +    extern ~Class() {} | 
|  | 34 | +    // Comment Bar | 
|  | 35 | +    public void Bar() => bar = 0; | 
|  | 36 | +  } | 
|  | 37 | +} | 
|  | 38 | + | 
|  | 39 | +Name: F | 
|  | 40 | +Doc: | 
|  | 41 | +// Comment F. | 
|  | 42 | +Definition (definition.class): | 
|  | 43 | +public struct F<T> | 
|  | 44 | +      where T : struct { | 
|  | 45 | +  } | 
|  | 46 | +Lineage: [Namespace] | 
|  | 47 | +Lineage types: [namespace] | 
|  | 48 | + | 
|  | 49 | +Name: F | 
|  | 50 | +Doc: | 
|  | 51 | +// Comment F. | 
|  | 52 | +Definition (definition.class): | 
|  | 53 | +[Nice] | 
|  | 54 | +  private record F<T1, T2> | 
|  | 55 | +      where T1 : I1, I2, new() | 
|  | 56 | +      where T2 : I2 {} | 
|  | 57 | +Lineage: [Namespace] | 
|  | 58 | +Lineage types: [namespace] | 
|  | 59 | + | 
|  | 60 | +Name: Teacher | 
|  | 61 | +Doc: | 
|  | 62 | +// Comment Teacher. | 
|  | 63 | +Declaration (definition.class): | 
|  | 64 | +record Teacher(string FirstName, string LastName, string Subject) : Person(FirstName, LastName); | 
|  | 65 | +Lineage: [Namespace] | 
|  | 66 | +Lineage types: [namespace] | 
|  | 67 | + | 
|  | 68 | +Name: B | 
|  | 69 | +Doc: | 
|  | 70 | +// Comment B. | 
|  | 71 | +Definition (definition.enum): | 
|  | 72 | +enum B { Ten = 10, Twenty = 20 } | 
|  | 73 | +Lineage: [Namespace] | 
|  | 74 | +Lineage types: [namespace] | 
|  | 75 | + | 
|  | 76 | +Name: F | 
|  | 77 | +Doc: | 
|  | 78 | +// Comment F. | 
|  | 79 | +Definition (definition.class): | 
|  | 80 | +public class F : object, IAlpha, IOmega {} | 
|  | 81 | +Lineage: [Namespace] | 
|  | 82 | +Lineage types: [namespace] | 
|  | 83 | + | 
|  | 84 | +Name: Class | 
|  | 85 | +Doc: | 
|  | 86 | +// Comment Class. | 
|  | 87 | +Definition (definition.class): | 
|  | 88 | +public partial class Class<in TParam> | 
|  | 89 | +      where TParam : class ?, notnull, F ? { | 
|  | 90 | +    // Comment operator +. | 
|  | 91 | +    public static int operator +(A a) { | 
|  | 92 | +      return 0; | 
|  | 93 | +    } | 
|  | 94 | +    // Comment GetSet. | 
|  | 95 | +    uint GetSet { get; set; } | 
|  | 96 | +    // Comment Foo. | 
|  | 97 | +    static extern Foo() => bar = 0; | 
|  | 98 | +    // Comment ~Class. | 
|  | 99 | +    extern ~Class() {} | 
|  | 100 | +    // Comment Bar | 
|  | 101 | +    public void Bar() => bar = 0; | 
|  | 102 | +  } | 
|  | 103 | +Lineage: [Namespace] | 
|  | 104 | +Lineage types: [namespace] | 
|  | 105 | + | 
|  | 106 | +Name: + | 
|  | 107 | +Doc: | 
|  | 108 | +// Comment operator +. | 
|  | 109 | +Definition (definition.method): | 
|  | 110 | +public static int operator +(A a) { | 
|  | 111 | +      return 0; | 
|  | 112 | +    } | 
|  | 113 | +Lineage: [Namespace Class] | 
|  | 114 | +Lineage types: [namespace class] | 
|  | 115 | + | 
|  | 116 | +Name: Foo | 
|  | 117 | +Doc: | 
|  | 118 | +// Comment Foo. | 
|  | 119 | +Definition (definition.constructor): | 
|  | 120 | +static extern Foo() => bar = 0; | 
|  | 121 | +Lineage: [Namespace Class] | 
|  | 122 | +Lineage types: [namespace class] | 
|  | 123 | + | 
|  | 124 | +Name: Class | 
|  | 125 | +Doc: | 
|  | 126 | +// Comment ~Class. | 
|  | 127 | +Definition (definition.destructor): | 
|  | 128 | +extern ~Class() {} | 
|  | 129 | +Lineage: [Namespace Class] | 
|  | 130 | +Lineage types: [namespace class] | 
|  | 131 | + | 
|  | 132 | +Name: Bar | 
|  | 133 | +Doc: | 
|  | 134 | +// Comment Bar | 
|  | 135 | +Definition (definition.method): | 
|  | 136 | +public void Bar() => bar = 0; | 
|  | 137 | +Lineage: [Namespace Class] | 
|  | 138 | +Lineage types: [namespace class] | 
0 commit comments