1 write to Handle
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2481
this.
Handle
= handle;
38 references to Handle
Microsoft.CodeAnalysis (38)
MetadataReader\PEModule.cs (38)
1070
return TryExtractStringAndStringValueFromAttribute(info.
Handle
, out builderTypeName, out methodName);
1085
return FindTargetAttribute(token, description).
Handle
;
1107
return TryExtractBoolArrayValueFromAttribute(info.
Handle
, out transformFlags);
1127
return TryExtractBoolArrayValueFromAttribute(info.
Handle
, out transformFlags);
1146
if (TryExtractValueFromAttribute(info.
Handle
, out int value, s_attributeIntValueExtractor))
1162
if (TryExtractValueFromAttribute(info.
Handle
, out int value, s_attributeIntValueExtractor))
1184
return TryExtractStringArrayValueFromAttribute(info.
Handle
, out tupleElementNames);
1276
if (!TryGetAttributeReader(attributeInfo.
Handle
, out var sig))
1351
if (!info.HasValue || !TryGetAttributeReader(info.
Handle
, out BlobReader sigReader) || !CrackStringInAttributeValue(out string? featureName, ref sigReader))
1403
if (!info.HasValue || info.SignatureIndex != 0 || !TryGetAttributeReader(info.
Handle
, out BlobReader sigReader))
1451
if (TryExtractStringValueFromAttribute(targetAttribute.
Handle
, out string? paramName))
1456
else if (TryExtractStringArrayValueFromAttribute(targetAttribute.
Handle
, out var paramNames))
1476
return TryExtractValueFromAttribute(info.
Handle
, out when, s_attributeBooleanValueExtractor);
1494
if (TryExtractStringValueFromAttribute(attributeInfo.
Handle
, out string parameterName))
1510
if (TryGetAttributeReader(info.
Handle
, out BlobReader sigReader) && CrackIntInAttributeValue(out int validOn, ref sigReader))
1579
if (info.HasValue && TryExtractLongValueFromAttribute(info.
Handle
, out value))
1602
if (info.HasValue && TryExtractDecimalValueFromDecimalConstantAttribute(info.
Handle
, out value))
1618
if (TryExtractValueFromAttribute(info.
Handle
, out bool value, s_attributeBooleanValueExtractor))
1659
if (TryExtractStringValueFromAttribute(ai.
Handle
, out string extracted))
1667
else if (TryExtractStringArrayValueFromAttribute(ai.
Handle
, out ImmutableArray<string> extracted2))
1700
if (TryExtractValueFromAttribute(ai.
Handle
, out BoolAndStringData extracted, s_attributeBoolAndStringValueExtractor))
1709
else if (TryExtractValueFromAttribute(ai.
Handle
, out BoolAndStringArrayData extracted2, s_attributeBoolAndStringArrayValueExtractor))
1738
if (TryExtractStringValueFromAttribute(ai.
Handle
, out extractedStr) && extractedStr != null)
1751
if (!TryGetAttributeReader(attributeInfo.
Handle
, out var sig))
1825
return TryExtractValueFromAttribute(attributeInfo.
Handle
, out var obsoleteData, s_attributeDeprecatedDataExtractor) ?
1857
if (TryExtractValueFromAttribute(attributeInfo.
Handle
, out shortValue, s_attributeShortValueExtractor) &&
1868
if (TryExtractValueFromAttribute(attributeInfo.
Handle
, out intValue, s_attributeIntValueExtractor) &&
1908
if (TryExtractValueFromAttribute(info.
Handle
, out shortValue, s_attributeShortValueExtractor))
1918
if (TryExtractValueFromAttribute(info.
Handle
, out intValue, s_attributeIntValueExtractor))
2037
return TryExtractStringValueFromAttribute(info.
Handle
, out value);
2049
return TryExtractIntAndIntValueFromAttribute(info.
Handle
, out value1, out value2);
2062
return TryExtractStringAndIntValueFromAttribute(info.
Handle
, out stringValue, out intValue);
2101
BlobHandle valueBlob = GetCustomAttributeValueOrThrow(typeIdentifierInfo.
Handle
);
2487
get { return !
Handle
.IsNil; }
3213
return TryExtractValueFromAttribute(info.
Handle
, out value, s_attributeByteValueExtractor);
3231
return TryExtractValueFromAttribute(info.
Handle
, out defaultTransform, s_attributeByteValueExtractor);
3234
return TryExtractByteArrayValueFromAttribute(info.
Handle
, out nullableTransforms);
3248
return TryExtractValueFromAttribute(info.
Handle
, out decodedPriority, s_attributeIntValueExtractor);