12 references to CustomAttributeValueTreatment
System.Reflection.Metadata (12)
System\Reflection\Metadata\MetadataReader.WinMD.cs (6)
665
internal
CustomAttributeValueTreatment
CalculateCustomAttributeValueTreatment(CustomAttributeHandle handle)
677
return
CustomAttributeValueTreatment
.None;
685
return
CustomAttributeValueTreatment
.AttributeUsageVersionAttribute;
690
return
CustomAttributeValueTreatment
.AttributeUsageDeprecatedAttribute;
695
return allowMultiple ?
CustomAttributeValueTreatment
.AttributeUsageAllowMultiple :
CustomAttributeValueTreatment
.AttributeUsageAllowSingle;
System\Reflection\Metadata\TypeSystem\CustomAttribute.cs (6)
109
CustomAttributeValueTreatment
treatment = _reader.CalculateCustomAttributeValueTreatment(Handle);
118
private BlobHandle GetProjectedValue(
CustomAttributeValueTreatment
treatment)
124
case
CustomAttributeValueTreatment
.AttributeUsageVersionAttribute:
125
case
CustomAttributeValueTreatment
.AttributeUsageDeprecatedAttribute:
130
case
CustomAttributeValueTreatment
.AttributeUsageAllowMultiple:
135
case
CustomAttributeValueTreatment
.AttributeUsageAllowSingle: