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