1 write to Handle
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2481this.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)) 1351if (!info.HasValue || !TryGetAttributeReader(info.Handle, out BlobReader sigReader) || !CrackStringInAttributeValue(out string? featureName, ref sigReader)) 1403if (!info.HasValue || info.SignatureIndex != 0 || !TryGetAttributeReader(info.Handle, out BlobReader sigReader)) 1451if (TryExtractStringValueFromAttribute(targetAttribute.Handle, out string? paramName)) 1456else if (TryExtractStringArrayValueFromAttribute(targetAttribute.Handle, out var paramNames)) 1476return TryExtractValueFromAttribute(info.Handle, out when, s_attributeBooleanValueExtractor); 1494if (TryExtractStringValueFromAttribute(attributeInfo.Handle, out string parameterName)) 1510if (TryGetAttributeReader(info.Handle, out BlobReader sigReader) && CrackIntInAttributeValue(out int validOn, ref sigReader)) 1579if (info.HasValue && TryExtractLongValueFromAttribute(info.Handle, out value)) 1602if (info.HasValue && TryExtractDecimalValueFromDecimalConstantAttribute(info.Handle, out value)) 1618if (TryExtractValueFromAttribute(info.Handle, out bool value, s_attributeBooleanValueExtractor)) 1659if (TryExtractStringValueFromAttribute(ai.Handle, out string extracted)) 1667else if (TryExtractStringArrayValueFromAttribute(ai.Handle, out ImmutableArray<string> extracted2)) 1700if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringData extracted, s_attributeBoolAndStringValueExtractor)) 1709else if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringArrayData extracted2, s_attributeBoolAndStringArrayValueExtractor)) 1738if (TryExtractStringValueFromAttribute(ai.Handle, out extractedStr) && extractedStr != null) 1751if (!TryGetAttributeReader(attributeInfo.Handle, out var sig)) 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)) 2037return TryExtractStringValueFromAttribute(info.Handle, out value); 2049return TryExtractIntAndIntValueFromAttribute(info.Handle, out value1, out value2); 2062return TryExtractStringAndIntValueFromAttribute(info.Handle, out stringValue, out intValue); 2101BlobHandle valueBlob = GetCustomAttributeValueOrThrow(typeIdentifierInfo.Handle); 2487get { return !Handle.IsNil; } 3213return TryExtractValueFromAttribute(info.Handle, out value, s_attributeByteValueExtractor); 3231return TryExtractValueFromAttribute(info.Handle, out defaultTransform, s_attributeByteValueExtractor); 3234return TryExtractByteArrayValueFromAttribute(info.Handle, out nullableTransforms); 3248return TryExtractValueFromAttribute(info.Handle, out decodedPriority, s_attributeIntValueExtractor);