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