1 write to Handle
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2504this.Handle = handle;
38 references to Handle
Microsoft.CodeAnalysis (38)
MetadataReader\PEModule.cs (38)
1092return TryExtractStringAndStringValueFromAttribute(info.Handle, out builderTypeName, out methodName); 1107return FindTargetAttribute(token, description).Handle; 1129return TryExtractBoolArrayValueFromAttribute(info.Handle, out transformFlags); 1149return TryExtractBoolArrayValueFromAttribute(info.Handle, out transformFlags); 1168if (TryExtractValueFromAttribute(info.Handle, out int value, s_attributeIntValueExtractor)) 1184if (TryExtractValueFromAttribute(info.Handle, out int value, s_attributeIntValueExtractor)) 1206return TryExtractStringArrayValueFromAttribute(info.Handle, out tupleElementNames); 1298if (!TryGetAttributeReader(attributeInfo.Handle, out var sig)) 1373if (!info.HasValue || !TryGetAttributeReader(info.Handle, out BlobReader sigReader) || !CrackStringInAttributeValue(out string? featureName, ref sigReader)) 1426if (!info.HasValue || info.SignatureIndex != 0 || !TryGetAttributeReader(info.Handle, out BlobReader sigReader)) 1474if (TryExtractStringValueFromAttribute(targetAttribute.Handle, out string? paramName)) 1479else if (TryExtractStringArrayValueFromAttribute(targetAttribute.Handle, out var paramNames)) 1499return TryExtractValueFromAttribute(info.Handle, out when, s_attributeBooleanValueExtractor); 1517if (TryExtractStringValueFromAttribute(attributeInfo.Handle, out string parameterName)) 1533if (TryGetAttributeReader(info.Handle, out BlobReader sigReader) && CrackIntInAttributeValue(out int validOn, ref sigReader)) 1602if (info.HasValue && TryExtractLongValueFromAttribute(info.Handle, out value)) 1625if (info.HasValue && TryExtractDecimalValueFromDecimalConstantAttribute(info.Handle, out value)) 1641if (TryExtractValueFromAttribute(info.Handle, out bool value, s_attributeBooleanValueExtractor)) 1682if (TryExtractStringValueFromAttribute(ai.Handle, out string extracted)) 1690else if (TryExtractStringArrayValueFromAttribute(ai.Handle, out ImmutableArray<string> extracted2)) 1723if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringData extracted, s_attributeBoolAndStringValueExtractor)) 1732else if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringArrayData extracted2, s_attributeBoolAndStringArrayValueExtractor)) 1761if (TryExtractStringValueFromAttribute(ai.Handle, out extractedStr) && extractedStr != null) 1774if (!TryGetAttributeReader(attributeInfo.Handle, out var sig)) 1848return TryExtractValueFromAttribute(attributeInfo.Handle, out var obsoleteData, s_attributeDeprecatedDataExtractor) ? 1880if (TryExtractValueFromAttribute(attributeInfo.Handle, out shortValue, s_attributeShortValueExtractor) && 1891if (TryExtractValueFromAttribute(attributeInfo.Handle, out intValue, s_attributeIntValueExtractor) && 1931if (TryExtractValueFromAttribute(info.Handle, out shortValue, s_attributeShortValueExtractor)) 1941if (TryExtractValueFromAttribute(info.Handle, out intValue, s_attributeIntValueExtractor)) 2060return TryExtractStringValueFromAttribute(info.Handle, out value); 2072return TryExtractIntAndIntValueFromAttribute(info.Handle, out value1, out value2); 2085return TryExtractStringAndIntValueFromAttribute(info.Handle, out stringValue, out intValue); 2124BlobHandle valueBlob = GetCustomAttributeValueOrThrow(typeIdentifierInfo.Handle); 2510get { return !Handle.IsNil; } 3236return TryExtractValueFromAttribute(info.Handle, out value, s_attributeByteValueExtractor); 3254return TryExtractValueFromAttribute(info.Handle, out defaultTransform, s_attributeByteValueExtractor); 3257return TryExtractByteArrayValueFromAttribute(info.Handle, out nullableTransforms); 3271return TryExtractValueFromAttribute(info.Handle, out decodedPriority, s_attributeIntValueExtractor);