1 write to Handle
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2476
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))
1346
if (!info.HasValue || !TryGetAttributeReader(info.
Handle
, out BlobReader sigReader) || !CrackStringInAttributeValue(out string? featureName, ref sigReader))
1398
if (!info.HasValue || info.SignatureIndex != 0 || !TryGetAttributeReader(info.
Handle
, out BlobReader sigReader))
1446
if (TryExtractStringValueFromAttribute(targetAttribute.
Handle
, out string? paramName))
1451
else if (TryExtractStringArrayValueFromAttribute(targetAttribute.
Handle
, out var paramNames))
1471
return TryExtractValueFromAttribute(info.
Handle
, out when, s_attributeBooleanValueExtractor);
1489
if (TryExtractStringValueFromAttribute(attributeInfo.
Handle
, out string parameterName))
1505
if (TryGetAttributeReader(info.
Handle
, out BlobReader sigReader) && CrackIntInAttributeValue(out int validOn, ref sigReader))
1574
if (info.HasValue && TryExtractLongValueFromAttribute(info.
Handle
, out value))
1597
if (info.HasValue && TryExtractDecimalValueFromDecimalConstantAttribute(info.
Handle
, out value))
1613
if (TryExtractValueFromAttribute(info.
Handle
, out bool value, s_attributeBooleanValueExtractor))
1654
if (TryExtractStringValueFromAttribute(ai.
Handle
, out string extracted))
1662
else if (TryExtractStringArrayValueFromAttribute(ai.
Handle
, out ImmutableArray<string> extracted2))
1695
if (TryExtractValueFromAttribute(ai.
Handle
, out BoolAndStringData extracted, s_attributeBoolAndStringValueExtractor))
1704
else if (TryExtractValueFromAttribute(ai.
Handle
, out BoolAndStringArrayData extracted2, s_attributeBoolAndStringArrayValueExtractor))
1733
if (TryExtractStringValueFromAttribute(ai.
Handle
, out extractedStr) && extractedStr != null)
1746
if (!TryGetAttributeReader(attributeInfo.
Handle
, out var sig))
1820
return TryExtractValueFromAttribute(attributeInfo.
Handle
, out var obsoleteData, s_attributeDeprecatedDataExtractor) ?
1852
if (TryExtractValueFromAttribute(attributeInfo.
Handle
, out shortValue, s_attributeShortValueExtractor) &&
1863
if (TryExtractValueFromAttribute(attributeInfo.
Handle
, out intValue, s_attributeIntValueExtractor) &&
1903
if (TryExtractValueFromAttribute(info.
Handle
, out shortValue, s_attributeShortValueExtractor))
1913
if (TryExtractValueFromAttribute(info.
Handle
, out intValue, s_attributeIntValueExtractor))
2032
return TryExtractStringValueFromAttribute(info.
Handle
, out value);
2044
return TryExtractIntAndIntValueFromAttribute(info.
Handle
, out value1, out value2);
2057
return TryExtractStringAndIntValueFromAttribute(info.
Handle
, out stringValue, out intValue);
2096
BlobHandle valueBlob = GetCustomAttributeValueOrThrow(typeIdentifierInfo.
Handle
);
2482
get { return !
Handle
.IsNil; }
3208
return TryExtractValueFromAttribute(info.
Handle
, out value, s_attributeByteValueExtractor);
3226
return TryExtractValueFromAttribute(info.
Handle
, out defaultTransform, s_attributeByteValueExtractor);
3229
return TryExtractByteArrayValueFromAttribute(info.
Handle
, out nullableTransforms);
3243
return TryExtractValueFromAttribute(info.
Handle
, out decodedPriority, s_attributeIntValueExtractor);