internal SealedClassWithReflection(AssemblyWithReflection assembly, NamespaceWithReflection @namespace, Type type) { this.assembly = assembly; this.@namespace = @namespace; this.type = type; if (type.BaseType != null && type.BaseType != typeof(object)) { baseClass = new ClassReferenceWithReflection(type.BaseType); } hiddenMembersAnalyzer = new HiddenMembersAnalyzer(type); typeWithReflection = new SealedTypeWithReflection(this); destructor = new Lazy <DestructorWithReflection>(InitializeDestructor); }
internal ClassNestedStructCollectionWithReflection(SealedTypeWithReflection typeWithReflection) { structCollection = new SealedClassNestedStructCollection(typeWithReflection); }
internal SealedClassEventCollectionWithReflection(SealedTypeWithReflection typeWithReflection) { this.typeWithReflection = typeWithReflection; }
internal SealedClassPropertyCollectionWithReflection(SealedTypeWithReflection typeWithReflection) { this.typeWithReflection = typeWithReflection; }
internal ClassFieldCollectionWithReflection(SealedTypeWithReflection typeWithReflection) { fieldCollection = new SealedClassFieldCollection(typeWithReflection); }
internal SealedClassIndexerCollectionWithReflection(SealedTypeWithReflection typeWithReflection) { this.typeWithReflection = typeWithReflection; }