1 write to Handle
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2502this.Handle = handle;
38 references to Handle
Microsoft.CodeAnalysis (38)
MetadataReader\PEModule.cs (38)
1091return TryExtractStringAndStringValueFromAttribute(info.Handle, out builderTypeName, out methodName); 1106return FindTargetAttribute(token, description).Handle; 1128return TryExtractBoolArrayValueFromAttribute(info.Handle, out transformFlags); 1148return TryExtractBoolArrayValueFromAttribute(info.Handle, out transformFlags); 1167if (TryExtractValueFromAttribute(info.Handle, out int value, s_attributeIntValueExtractor)) 1183if (TryExtractValueFromAttribute(info.Handle, out int value, s_attributeIntValueExtractor)) 1205return TryExtractStringArrayValueFromAttribute(info.Handle, out tupleElementNames); 1297if (!TryGetAttributeReader(attributeInfo.Handle, out var sig)) 1372if (!info.HasValue || !TryGetAttributeReader(info.Handle, out BlobReader sigReader) || !CrackStringInAttributeValue(out string? featureName, ref sigReader)) 1424if (!info.HasValue || info.SignatureIndex != 0 || !TryGetAttributeReader(info.Handle, out BlobReader sigReader)) 1472if (TryExtractStringValueFromAttribute(targetAttribute.Handle, out string? paramName)) 1477else if (TryExtractStringArrayValueFromAttribute(targetAttribute.Handle, out var paramNames)) 1497return TryExtractValueFromAttribute(info.Handle, out when, s_attributeBooleanValueExtractor); 1515if (TryExtractStringValueFromAttribute(attributeInfo.Handle, out string parameterName)) 1531if (TryGetAttributeReader(info.Handle, out BlobReader sigReader) && CrackIntInAttributeValue(out int validOn, ref sigReader)) 1600if (info.HasValue && TryExtractLongValueFromAttribute(info.Handle, out value)) 1623if (info.HasValue && TryExtractDecimalValueFromDecimalConstantAttribute(info.Handle, out value)) 1639if (TryExtractValueFromAttribute(info.Handle, out bool value, s_attributeBooleanValueExtractor)) 1680if (TryExtractStringValueFromAttribute(ai.Handle, out string extracted)) 1688else if (TryExtractStringArrayValueFromAttribute(ai.Handle, out ImmutableArray<string> extracted2)) 1721if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringData extracted, s_attributeBoolAndStringValueExtractor)) 1730else if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringArrayData extracted2, s_attributeBoolAndStringArrayValueExtractor)) 1759if (TryExtractStringValueFromAttribute(ai.Handle, out extractedStr) && extractedStr != null) 1772if (!TryGetAttributeReader(attributeInfo.Handle, out var sig)) 1846return TryExtractValueFromAttribute(attributeInfo.Handle, out var obsoleteData, s_attributeDeprecatedDataExtractor) ? 1878if (TryExtractValueFromAttribute(attributeInfo.Handle, out shortValue, s_attributeShortValueExtractor) && 1889if (TryExtractValueFromAttribute(attributeInfo.Handle, out intValue, s_attributeIntValueExtractor) && 1929if (TryExtractValueFromAttribute(info.Handle, out shortValue, s_attributeShortValueExtractor)) 1939if (TryExtractValueFromAttribute(info.Handle, out intValue, s_attributeIntValueExtractor)) 2058return TryExtractStringValueFromAttribute(info.Handle, out value); 2070return TryExtractIntAndIntValueFromAttribute(info.Handle, out value1, out value2); 2083return TryExtractStringAndIntValueFromAttribute(info.Handle, out stringValue, out intValue); 2122BlobHandle valueBlob = GetCustomAttributeValueOrThrow(typeIdentifierInfo.Handle); 2508get { return !Handle.IsNil; } 3234return TryExtractValueFromAttribute(info.Handle, out value, s_attributeByteValueExtractor); 3252return TryExtractValueFromAttribute(info.Handle, out defaultTransform, s_attributeByteValueExtractor); 3255return TryExtractByteArrayValueFromAttribute(info.Handle, out nullableTransforms); 3269return TryExtractValueFromAttribute(info.Handle, out decodedPriority, s_attributeIntValueExtractor);