17 references to AttributeValueExtractor
Microsoft.CodeAnalysis (17)
MetadataReader\PEModule.cs (17)
99
private static readonly
AttributeValueExtractor
<string?> s_attributeStringValueExtractor = CrackStringInAttributeValue;
100
private static readonly
AttributeValueExtractor
<(int, int)> s_attributeIntAndIntValueExtractor = CrackIntAndIntInAttributeValue;
101
private static readonly
AttributeValueExtractor
<StringAndInt> s_attributeStringAndIntValueExtractor = CrackStringAndIntInAttributeValue;
102
private static readonly
AttributeValueExtractor
<(string?, string?)> s_attributeStringAndStringValueExtractor = CrackStringAndStringInAttributeValue;
103
private static readonly
AttributeValueExtractor
<bool> s_attributeBooleanValueExtractor = CrackBooleanInAttributeValue;
104
private static readonly
AttributeValueExtractor
<byte> s_attributeByteValueExtractor = CrackByteInAttributeValue;
105
private static readonly
AttributeValueExtractor
<short> s_attributeShortValueExtractor = CrackShortInAttributeValue;
106
private static readonly
AttributeValueExtractor
<int> s_attributeIntValueExtractor = CrackIntInAttributeValue;
107
private static readonly
AttributeValueExtractor
<long> s_attributeLongValueExtractor = CrackLongInAttributeValue;
109
private static readonly
AttributeValueExtractor
<decimal> s_decimalValueInDecimalConstantAttributeExtractor = CrackDecimalInDecimalConstantAttribute;
110
private static readonly
AttributeValueExtractor
<ImmutableArray<bool>> s_attributeBoolArrayValueExtractor = CrackBoolArrayInAttributeValue;
111
private static readonly
AttributeValueExtractor
<ImmutableArray<byte>> s_attributeByteArrayValueExtractor = CrackByteArrayInAttributeValue;
112
private static readonly
AttributeValueExtractor
<ImmutableArray<string?>> s_attributeStringArrayValueExtractor = CrackStringArrayInAttributeValue;
113
private static readonly
AttributeValueExtractor
<ObsoleteAttributeData?> s_attributeDeprecatedDataExtractor = CrackDeprecatedAttributeData;
114
private static readonly
AttributeValueExtractor
<BoolAndStringArrayData> s_attributeBoolAndStringArrayValueExtractor = CrackBoolAndStringArrayInAttributeValue;
115
private static readonly
AttributeValueExtractor
<BoolAndStringData> s_attributeBoolAndStringValueExtractor = CrackBoolAndStringInAttributeValue;
1990
private bool TryExtractValueFromAttribute<T>(CustomAttributeHandle handle, out T? value,
AttributeValueExtractor
<T?> valueExtractor)