internal NestedAbstractClassWithReflection(ITypeWithReflection declaringType, Type type) { typeWithReflection = new NestedClassWithReflection(declaringType, type); events = new AbstractClassEventCollectionWithReflection(typeWithReflection.TypeWithReflection); indexers = new AbstractClassIndexerCollectionWithReflection(typeWithReflection.TypeWithReflection); methods = new AbstractClassMethodCollectionWithReflection(typeWithReflection.TypeWithReflection); properties = new AbstractClassPropertyCollectionWithReflection(typeWithReflection.TypeWithReflection); }
internal NestedSealedClassWithReflection(ITypeWithReflection declaringType, Type type) { typeWithReflection = new NestedClassWithReflection(declaringType, type); sealedTypeWithReflection = new SealedTypeWithReflection(this); events = new SealedClassEventCollectionWithReflection(sealedTypeWithReflection); indexers = new SealedClassIndexerCollectionWithReflection(sealedTypeWithReflection); methods = new SealedClassMethodCollectionWithReflection(sealedTypeWithReflection); properties = new SealedClassPropertyCollectionWithReflection(sealedTypeWithReflection); }