internal NestedClassWithMonoCecil(ITypeWithMonoCecil declaringType, TypeDefinition type) { this.declaringType = declaringType; hiddenMembersAnalyzer = new HiddenMembersAnalyzer(declaringType.Assembly, type); this.type = type; if (type.BaseType != null && type.BaseType.FullName != "System.Object") { baseClass = new ClassReferenceWithMonoCecil(declaringType.Assembly, type.BaseType); } typeWithMonoCecil = new ClassTypeWithMonoCecil(this); destructor = new Lazy <DestructorWithMonoCecil>( () => typeWithMonoCecil.Destructor == null ? null : new DestructorWithMonoCecil(null, this, typeWithMonoCecil.Destructor)); }
internal ClassNestedStructCollection(ClassTypeWithMonoCecil typeWithMonoCecil) { this.typeWithMonoCecil = typeWithMonoCecil; }
public ClassFieldCollection(ClassTypeWithMonoCecil typeWithMonoCecil) { this.typeWithMonoCecil = typeWithMonoCecil; }