@@ -2686,7 +2686,7 @@ type ILTypeDef
26862686 properties,
26872687 additionalFlags,
26882688 storeILSecurityDecls securityDecls,
2689- storeILCustomAttrs customAttrs,
2689+ customAttrs,
26902690 NoMetadataIdx
26912691 )
26922692
@@ -2762,7 +2762,7 @@ type ILTypeDef
27622762 events = defaultArg events x.Events,
27632763 properties = defaultArg properties x.Properties,
27642764 additionalFlags = defaultArg newAdditionalFlags additionalFlags,
2765- customAttrs = defaultArg customAttrs ( x.CustomAttrs )
2765+ customAttrs = defaultArg customAttrs ( x.CustomAttrsStored )
27662766 )
27672767
27682768 member x.CustomAttrs : ILAttributes =
@@ -4259,7 +4259,7 @@ let mkILGenericClass (nm, access, genparams, extends, impl, methods, fields, nes
42594259 methods = methods,
42604260 fields = fields,
42614261 nestedTypes = nestedTypes,
4262- customAttrs = attrs,
4262+ customAttrs = storeILCustomAttrs attrs,
42634263 methodImpls = emptyILMethodImpls,
42644264 properties = props,
42654265 events = events,
@@ -4284,7 +4284,7 @@ let mkRawDataValueTypeDef (iltyp_ValueType: ILType) (nm, size, pack) =
42844284 methods = emptyILMethods,
42854285 fields = emptyILFields,
42864286 nestedTypes = emptyILTypeDefs,
4287- customAttrs = emptyILCustomAttrs ,
4287+ customAttrs = emptyILCustomAttrsStored ,
42884288 methodImpls = emptyILMethodImpls,
42894289 properties = emptyILProperties,
42904290 events = emptyILEvents,
0 commit comments