Ejemplo n.º 1
0
 /// <summary>
 /// Checks to see whether the data member
 /// <see cref="_members"/> is initialized
 /// to its default state.
 /// </summary>
 private void Check_Members()
 {
     if (this._members == null)
     {
         this._members = this.Initialize_Members();
     }
 }
Ejemplo n.º 2
0
 protected override IFullMemberDictionary OnGetMembers()
 {
     if (this.members == null)
     {
         this.members = new _FullMembersBase();
     }
     return(this.members);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Checks to see whether the data member
 /// <see cref="_members"/> is initialized
 /// to its default state.
 /// </summary>
 private void Check_Members()
 {
     lock (SyncObject)
         if (this._members == null)
         {
             if (this.IsDisposed)
             {
                 throw new InvalidOperationException(Resources.ObjectStateThrowMessage);
             }
             else
             {
                 this._members = this.Initialize_Members();
             }
         }
 }
Ejemplo n.º 4
0
 internal _FieldMembersBase(_FullMembersBase master, IFieldMemberDictionary <IClassFieldMember, IClassType> originalSet, _ClassTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 5
0
 public override void Dispose()
 {
     if (this.IsDisposed)
     {
         return;
     }
     try
     {
         lock (SyncObject)
         {
             if (this.classes != null)
             {
                 this.classes.Dispose();
                 this.classes = null;
             }
             if (this.delegates != null)
             {
                 this.delegates.Dispose();
                 this.delegates = null;
             }
             if (this.enums != null)
             {
                 this.enums.Dispose();
                 this.enums = null;
             }
             if (this.interfaces != null)
             {
                 this.interfaces.Dispose();
                 this.interfaces = null;
             }
             if (this.structs != null)
             {
                 this.structs.Dispose();
                 this.structs = null;
             }
             if (this.types != null)
             {
                 this.types = null;
             }
             if (this.binaryOperatorCoercions != null)
             {
                 this.binaryOperatorCoercions.Dispose();
                 this.binaryOperatorCoercions = null;
             }
             if (this.typeInitializer != null)
             {
                 this.typeInitializer.Dispose();
                 this.typeInitializer = null;
             }
             if (this.constructors != null)
             {
                 this.constructors.Dispose();
                 this.constructors = null;
             }
             if (this.methods != null)
             {
                 this.methods.Dispose();
                 this.methods = null;
             }
             if (this.events != null)
             {
                 this.events.Dispose();
                 this.events = null;
             }
             if (this.fields != null)
             {
                 this.fields.Dispose();
                 this.fields = null;
             }
             if (this.indexers != null)
             {
                 this.indexers.Dispose();
                 this.indexers = null;
             }
             if (this.properties != null)
             {
                 this.properties.Dispose();
                 this.properties = null;
             }
             if (this.typeCoercions != null)
             {
                 this.typeCoercions.Dispose();
                 this.typeCoercions = null;
             }
             if (this.unaryOperatorCoercions != null)
             {
                 this.unaryOperatorCoercions.Dispose();
                 this.unaryOperatorCoercions = null;
             }
             if (this._members != null)
             {
                 this._members = null;
             }
             fullTypesChecked = true;
         }
     }
     finally
     {
         base.Dispose();
     }
 }
Ejemplo n.º 6
0
 public _PropertiesBase(_FullMembersBase master, IPropertyMemberDictionary <IStructPropertyMember, IStructType> originalSet, _StructTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 7
0
 internal _PropertiesBase(_FullMembersBase master, IPropertySignatureMemberDictionary <IInterfacePropertyMember, IInterfaceType> originalSet, _InterfaceTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 8
0
 internal FieldMemberDictionary(_FullMembersBase master, IFieldMemberDictionary <IEnumFieldMember, IEnumType> original, _EnumTypeBase parent)
     : base(master, original, parent)
 {
 }
Ejemplo n.º 9
0
 internal _FieldMembersBase(_FullMembersBase master, IFieldMemberDictionary <IStructFieldMember, IStructType> originalSet, _StructTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 10
0
 public _IndexersBase(_FullMembersBase master, IIndexerMemberDictionary <IStructIndexerMember, IStructType> originalSet, _StructTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 11
0
 public _UnaryOperatorsBase(_FullMembersBase master, IUnaryOperatorCoercionMemberDictionary <TType> originalSet, _GenericInstantiableTypeBase <TCtor, TEvent, TField, TIndexer, TMethod, TProperty, TType> parent)
     : base(master, originalSet, ((TType)(object)(parent)))
 {
 }
Ejemplo n.º 12
0
 internal _MethodsBase(_FullMembersBase master, IMethodMemberDictionary <IStructMethodMember, IStructType> originalSet, _StructTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 13
0
 public _BinaryOperatorsBase(_FullMembersBase master, IBinaryOperatorCoercionMemberDictionary <TType> originalSet, TType parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 14
0
 internal _MethodsBase(_FullMembersBase master, IMethodMemberDictionary <IClassMethodMember, IClassType> originalSet, _ClassTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 15
0
 public _IndexersBase(_FullMembersBase master, IIndexerMemberDictionary <IClassIndexerMember, IClassType> originalSet, _ClassTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 16
0
 public _PropertiesBase(_FullMembersBase master, IPropertyMemberDictionary <IClassPropertyMember, IClassType> originalSet, _ClassTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 17
0
 internal _TypeCoercionsBase(_FullMembersBase master, ITypeCoercionMemberDictionary <TType> originalSet, TType parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 18
0
 internal _IndexersBase(_FullMembersBase master, IIndexerSignatureMemberDictionary <IInterfaceIndexerMember, IInterfaceType> originalSet, _InterfaceTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 19
0
 internal _MethodsBase(_FullMembersBase master, IMethodSignatureMemberDictionary <IInterfaceMethodMember, IInterfaceType> originalSet, _InterfaceTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 20
0
 public _EventsBase(_FullMembersBase master, IEventMemberDictionary <IClassEventMember, IClassType> originalSet, _ClassTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 21
0
 internal _ConstructorsBase(_FullMembersBase master, IConstructorMemberDictionary <IClassCtorMember, IClassType> originalSet, _ClassTypeBase parent)
     : base(master, originalSet, parent)
 {
 }
Ejemplo n.º 22
0
 internal _Events(_FullMembersBase master, IEventSignatureMemberDictionary <IInterfaceEventMember, IInterfaceType> originalSet, _InterfaceTypeBase parent)
     : base(master, originalSet, parent)
 {
 }