23 references to TryExtractValueFromAttribute
Microsoft.CodeAnalysis (23)
MetadataReader\PEModule.cs (23)
1146if (TryExtractValueFromAttribute(info.Handle, out int value, s_attributeIntValueExtractor)) 1162if (TryExtractValueFromAttribute(info.Handle, out int value, s_attributeIntValueExtractor)) 1476return TryExtractValueFromAttribute(info.Handle, out when, s_attributeBooleanValueExtractor); 1618if (TryExtractValueFromAttribute(info.Handle, out bool value, s_attributeBooleanValueExtractor)) 1700if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringData extracted, s_attributeBoolAndStringValueExtractor)) 1709else if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringArrayData extracted2, s_attributeBoolAndStringArrayValueExtractor)) 1825return TryExtractValueFromAttribute(attributeInfo.Handle, out var obsoleteData, s_attributeDeprecatedDataExtractor) ? 1857if (TryExtractValueFromAttribute(attributeInfo.Handle, out shortValue, s_attributeShortValueExtractor) && 1868if (TryExtractValueFromAttribute(attributeInfo.Handle, out intValue, s_attributeIntValueExtractor) && 1908if (TryExtractValueFromAttribute(info.Handle, out shortValue, s_attributeShortValueExtractor)) 1918if (TryExtractValueFromAttribute(info.Handle, out intValue, s_attributeIntValueExtractor)) 1936return TryExtractValueFromAttribute(handle, out value, s_attributeStringValueExtractor); 1941return TryExtractValueFromAttribute(handle, out value, s_attributeLongValueExtractor); 1947return TryExtractValueFromAttribute(handle, out value, s_decimalValueInDecimalConstantAttributeExtractor); 1952bool result = TryExtractValueFromAttribute(handle, out (int, int) data, s_attributeIntAndIntValueExtractor); 1966var result = TryExtractValueFromAttribute(handle, out data, s_attributeStringAndIntValueExtractor); 1975var result = TryExtractValueFromAttribute(handle, out data, s_attributeStringAndStringValueExtractor); 1982return TryExtractValueFromAttribute(handle, out value, s_attributeBoolArrayValueExtractor); 1987return TryExtractValueFromAttribute(handle, out value, s_attributeByteArrayValueExtractor); 1992return TryExtractValueFromAttribute(handle, out value, s_attributeStringArrayValueExtractor); 3213return TryExtractValueFromAttribute(info.Handle, out value, s_attributeByteValueExtractor); 3231return TryExtractValueFromAttribute(info.Handle, out defaultTransform, s_attributeByteValueExtractor); 3248return TryExtractValueFromAttribute(info.Handle, out decodedPriority, s_attributeIntValueExtractor);