internal StructNestedEnumWithMonoCecil(ITypeWithMonoCecil declaringType, TypeDefinition type) { nestedEnum = new NestedEnumWithMonoCecil(declaringType, type); }
internal NestedEnumMemberWithMonoCecil(NestedEnumWithMonoCecil declaringType, FieldDefinition field) { this.declaringType = declaringType; this.field = field; attributes = new Lazy <Attributes>(() => new Attributes(declaringType.Assembly, field)); }