Example #1
0
 private void Check_Members()
 {
     if (this.members == null)
     {
         this.members = new IntermediateFullMemberDictionary();
     }
 }
Example #2
0
 internal protected FieldDictionary(IntermediateFullMemberDictionary master, TInstanceIntermediateType parent, FieldDictionary root)
     : base(master, parent, root)
 {
 }
Example #3
0
 protected internal PropertyDictionary(IntermediateFullMemberDictionary master, TInstanceIntermediateType parent, PropertyDictionary root)
     : base(master, parent, root)
 {
 }
Example #4
0
 internal UnaryOperatorDictionary(IntermediateFullMemberDictionary master, IntermediateGenericSegmentableInstantiableType <TCtor, TIntermediateCtor, TEvent, TIntermediateEvent, TIntermediateEventMethod, TField, TIntermediateField, TIndexer, TIntermediateIndexer, TIntermediateIndexerMethod, TMethod, TIntermediateMethod, TProperty, TIntermediateProperty, TIntermediatePropertyMethod, TType, TIntermediateType, TInstanceIntermediateType> parent, UnaryOperatorDictionary root)
     : base(master, ((TIntermediateType)((object)(parent))), root)
 {
 }
Example #5
0
 public MethodDictionary(IntermediateFullMemberDictionary master, TInstanceIntermediateType parent, MethodDictionary root)
     : base(master, parent, root)
 {
 }
Example #6
0
 public MethodDictionary(IntermediateFullMemberDictionary master, TInstanceIntermediateType parent, ITypeIdentityManager identityManager)
     : base(master, parent, identityManager)
 {
 }
Example #7
0
 internal IndexerDictionary(IntermediateFullMemberDictionary master, TInstanceIntermediateType parent, IndexerDictionary root)
     : base(master, parent, root)
 {
 }
Example #8
0
 /// <summary>
 /// Disposes the <see cref="IntermediateNamespaceDeclaration"/>
 /// </summary>
 /// <param name="disposing">whether to dispose the managed
 /// resources as well as the unmanaged resources.</param>
 protected override void Dispose(bool disposing)
 {
     try
     {
         if (disposing)
         {
             lock (this.SyncObject)
             {
                 this.parent = null;
                 if (this.methods != null)
                 {
                     this.methods.Dispose();
                     this.methods = null;
                 }
                 if (this.fields != null)
                 {
                     this.fields.Dispose();
                     this.fields = null;
                 }
                 if (this.members != null)
                 {
                     if (this.IsRoot)
                     {
                         this.members.Dispose();
                     }
                     else
                     {
                         this.members.ConditionalRemove(this);
                     }
                     this.members = null;
                 }
                 if (this.classes != null)
                 {
                     this.classes.Dispose();
                     this.classes = null;
                 }
                 if (this.enums != null)
                 {
                     this.enums.Dispose();
                     this.enums = null;
                 }
                 if (this.delegates != null)
                 {
                     this.delegates.Dispose();
                     this.delegates = 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)
                 {
                     if (this.IsRoot)
                     {
                         this.types.Dispose();
                     }
                     else
                     {
                         this.types.ConditionalRemove(this);
                     }
                     this.types = null;
                 }
                 if (this.namespaces != null)
                 {
                     this.namespaces.Dispose();
                     this.namespaces = null;
                 }
                 this.scopeCoercions = null;
             }
         }
     }
     finally
     {
         base.Dispose(disposing);
     }
 }
 /// <summary>
 /// Creates a new <see cref="FieldMemberDictionary"/>
 /// with the <paramref name="master"/> and <paramref name="parent"/> provided.
 /// </summary>
 /// <param name="master">The <see cref="IntermediateFullMemberDictionary"/> which groups the
 /// elements of the <see cref="FieldMemberDictionary"/>
 /// with the <paramref name="parent"/>s other members.</param>
 /// <param name="parent">The <see cref="IntermediateEnumType"/> which contains the
 /// <see cref="FieldMemberDictionary"/></param>
 /// <exception cref="System.ArgumentNullException">thrown when <paramref name="master"/> is null; or
 /// when <paramref name="parent"/> is null.</exception>
 public FieldMemberDictionary(IntermediateFullMemberDictionary master, IntermediateEnumType parent)
     : base(master, parent)
 {
 }
Example #10
0
 internal IntermediateTopLevelFieldMemberDictionary(IntermediateFullMemberDictionary master, IIntermediateNamespaceParent parent, IntermediateTopLevelFieldMemberDictionary sibling)
     : base(master, parent, sibling)
 {
 }
Example #11
0
 /// <summary>
 /// Creates a new <see cref="IntermediateModuleGlobalFieldDictionary"/>
 /// </summary>
 /// <param name="master">
 /// The <see cref="IntermediateFullMemberDictionary"/> master
 /// dictionary which groups the intermediate module's members
 /// together.</param>
 /// <param name="parent">The <see cref="IntermediateModule"/> which owns the <see cref="IntermediateModuleGlobalFieldDictionary"/>.</param>
 protected internal IntermediateModuleGlobalFieldDictionary(IntermediateFullMemberDictionary master, IntermediateModule parent) :
     base(master, parent)
 {
 }
Example #12
0
 public IntermediateTopLevelFieldMemberDictionary(IntermediateFullMemberDictionary master, IIntermediateNamespaceParent parent)
     : base(master, parent)
 {
 }
Example #13
0
 public IntermediateModuleGlobalMethodDictionary(IntermediateFullMemberDictionary master, IIntermediateModule parent)
     : base(master, parent, parent.Parent.IdentityManager)
 {
 }
 public EventMembers(IntermediateFullMemberDictionary master, TInstanceType parent, EventMembers root)
     : base(master, parent, root)
 {
 }
 public PropertyMembers(IntermediateFullMemberDictionary master, TInstanceType parent)
     : base(master, parent)
 {
 }
 public MethodMembers(IntermediateFullMemberDictionary master, TInstanceType parent)
     : base(master, parent, parent.IdentityManager)
 {
 }