1 write to Handle
Microsoft.CodeAnalysis (1)
MetadataReader\PEModule.cs (1)
2224this.Handle = handle;
39 references to Handle
Microsoft.CodeAnalysis (33)
MetadataReader\PEModule.cs (33)
1045return FindTargetAttribute(token, description).Handle; 1067return TryExtractBoolArrayValueFromAttribute(info.Handle, out transformFlags); 1087return TryExtractBoolArrayValueFromAttribute(info.Handle, out transformFlags); 1106if (TryExtractValueFromAttribute(info.Handle, out int value, s_attributeIntValueExtractor)) 1127return TryExtractStringArrayValueFromAttribute(info.Handle, out tupleElementNames); 1189if (!info.HasValue || !TryGetAttributeReader(info.Handle, out BlobReader sigReader) || !CrackStringInAttributeValue(out string? featureName, ref sigReader)) 1241if (!info.HasValue || info.SignatureIndex != 0 || !TryGetAttributeReader(info.Handle, out BlobReader sigReader)) 1289if (TryExtractStringValueFromAttribute(targetAttribute.Handle, out string? paramName)) 1294else if (TryExtractStringArrayValueFromAttribute(targetAttribute.Handle, out var paramNames)) 1314return TryExtractValueFromAttribute(info.Handle, out when, s_attributeBooleanValueExtractor); 1332if (TryExtractStringValueFromAttribute(attributeInfo.Handle, out string parameterName)) 1345return info.Handle; 1376if (info.HasValue && TryExtractLongValueFromAttribute(info.Handle, out value)) 1399if (info.HasValue && TryExtractDecimalValueFromDecimalConstantAttribute(info.Handle, out value)) 1415if (TryExtractValueFromAttribute(info.Handle, out bool value, s_attributeBooleanValueExtractor)) 1456if (TryExtractStringValueFromAttribute(ai.Handle, out string extracted)) 1464else if (TryExtractStringArrayValueFromAttribute(ai.Handle, out ImmutableArray<string> extracted2)) 1497if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringData extracted, s_attributeBoolAndStringValueExtractor)) 1506else if (TryExtractValueFromAttribute(ai.Handle, out BoolAndStringArrayData extracted2, s_attributeBoolAndStringArrayValueExtractor)) 1535if (TryExtractStringValueFromAttribute(ai.Handle, out extractedStr) && extractedStr != null) 1548if (!TryGetAttributeReader(attributeInfo.Handle, out var sig)) 1622return TryExtractValueFromAttribute(attributeInfo.Handle, out var obsoleteData, s_attributeDeprecatedDataExtractor) ? 1654if (TryExtractValueFromAttribute(attributeInfo.Handle, out shortValue, s_attributeShortValueExtractor) && 1665if (TryExtractValueFromAttribute(attributeInfo.Handle, out intValue, s_attributeIntValueExtractor) && 1705if (TryExtractValueFromAttribute(info.Handle, out shortValue, s_attributeShortValueExtractor)) 1715if (TryExtractValueFromAttribute(info.Handle, out intValue, s_attributeIntValueExtractor)) 1819return TryExtractStringValueFromAttribute(info.Handle, out value); 1831return TryExtractStringAndIntValueFromAttribute(info.Handle, out stringValue, out intValue); 1870BlobHandle valueBlob = GetCustomAttributeValueOrThrow(typeIdentifierInfo.Handle); 2230get { return !Handle.IsNil; } 2956return TryExtractValueFromAttribute(info.Handle, out value, s_attributeByteValueExtractor); 2974return TryExtractValueFromAttribute(info.Handle, out defaultTransform, s_attributeByteValueExtractor); 2977return TryExtractByteArrayValueFromAttribute(info.Handle, out nullableTransforms);
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
617containingPEModuleSymbol.Module.FindLastTargetAttribute(_handle, AttributeDescription.DecimalConstantAttribute).Handle);
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
744_moduleSymbol.Module.TryExtractStringValueFromAttribute(info.Handle, out var parameterName);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.cs (1)
526Assert.True(peModule.Module.TryExtractLongValueFromAttribute(attributeInfo.Handle, out attributeValue));
Microsoft.CodeAnalysis.VisualBasic (2)
Symbols\Metadata\PE\PEFieldSymbol.vb (1)
190containingPEModuleSymbol.Module.FindLastTargetAttribute(Me._handle, filteredOutConstantAttributeDescription).Handle)
Symbols\Metadata\PE\PEParameterSymbol.vb (1)
628If attribute.HasValue AndAlso PEModule.TryExtractStringValueFromAttribute(attribute.Handle, parameterName) Then
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AttributeTests_WellKnownAttributes.vb (1)
558Assert.True(peModuleSymbol.Module.TryExtractLongValueFromAttribute(attributeInfo.Handle, attributeValue))