Esempio n. 1
0
 internal TypeNode(NodeType nodeType, NestedTypeProvider provideNestedTypes, TypeAttributeProvider provideAttributes, TypeMemberProvider provideMembers, object handle)
     : base(nodeType)
 {
     this.ProvideNestedTypes = provideNestedTypes;
     this.ProvideTypeAttributes = provideAttributes;
     this.ProvideTypeMembers = provideMembers;
     this.ProviderHandle = handle;
     this.isNormalized = true;
 }
Esempio n. 2
0
 public MethodTypeParameter(InterfaceList baseInterfaces, NestedTypeProvider provideNestedTypes, TypeAttributeProvider provideAttributes, TypeMemberProvider provideMembers, object handle)
     : base(baseInterfaces, provideNestedTypes, provideAttributes, provideMembers, handle)
 {
     this.NodeType = NodeType.TypeParameter;
     this.Flags = TypeFlags.Interface | TypeFlags.NestedPublic | TypeFlags.Abstract;
     this.Namespace = StandardIds.TypeParameter;
 }
Esempio n. 3
0
 public ClassParameter(NestedTypeProvider provideNestedTypes, TypeAttributeProvider provideAttributes, TypeMemberProvider provideMembers, object handle)
     : base(provideNestedTypes, provideAttributes, provideMembers, handle)
 {
     this.NodeType = NodeType.ClassParameter;
     this.baseClass = CoreSystemTypes.Object;
     this.Flags = TypeFlags.NestedPrivate | TypeFlags.Abstract | TypeFlags.SpecialName;
     this.Namespace = StandardIds.TypeParameter;
 }
Esempio n. 4
0
 public Struct(NestedTypeProvider provideNestedTypes, TypeAttributeProvider provideAttributes, TypeMemberProvider provideMembers, object handle)
     : base(NodeType.Struct, provideNestedTypes, provideAttributes, provideMembers, handle)
 {
     this.typeCode = ElementType.ValueType;
 }
Esempio n. 5
0
 public Interface(InterfaceList baseInterfaces, NestedTypeProvider provideNestedTypes, TypeAttributeProvider provideAttributes, TypeMemberProvider provideMembers, object handle)
     : base(NodeType.Interface, provideNestedTypes, provideAttributes, provideMembers, handle)
 {
     this.Interfaces = baseInterfaces;
 }
Esempio n. 6
0
 public EnumNode(NestedTypeProvider provideNestedTypes, TypeAttributeProvider provideAttributes, TypeMemberProvider provideMembers, object handle)
     : base(NodeType.EnumNode, provideNestedTypes, provideAttributes, provideMembers, handle)
 {
     this.typeCode = ElementType.ValueType;
     this.Flags |= TypeFlags.Sealed;
 }
Esempio n. 7
0
 public DelegateNode(NestedTypeProvider provideNestedTypes, TypeAttributeProvider provideAttributes, TypeMemberProvider provideMembers, object handle)
     : base(NodeType.DelegateNode, provideNestedTypes, provideAttributes, provideMembers, handle)
 {
 }
Esempio n. 8
0
 public Class(NestedTypeProvider provideNestedTypes, TypeAttributeProvider provideAttributes, TypeMemberProvider provideMembers, object handle)
     : base(NodeType.Class, provideNestedTypes, provideAttributes, provideMembers, handle)
 {
 }