3 instantiations of CustomAttributeHandle
System.Reflection.Metadata (3)
131 references to CustomAttributeHandle
BuildValidator (1)
Crossgen2Tasks (1)
Microsoft.Cci.Extensions (1)
Microsoft.CodeAnalysis (39)
MetadataReader\PEModule.cs (29)
1114internal CustomAttributeHandle GetAttributeHandle(EntityHandle token, AttributeDescription description)
1837private bool TryGetAttributeReader(CustomAttributeHandle handle, out BlobReader blobReader)
1983internal bool TryExtractStringValueFromAttribute(CustomAttributeHandle handle, out string? value)
1988internal bool TryExtractLongValueFromAttribute(CustomAttributeHandle handle, out long value)
1994private bool TryExtractDecimalValueFromDecimalConstantAttribute(CustomAttributeHandle handle, out decimal value)
1999private bool TryExtractIntAndIntValueFromAttribute(CustomAttributeHandle handle, out int value1, out int value2)
2012private bool TryExtractStringAndIntValueFromAttribute(CustomAttributeHandle handle, out string? stringValue, out int intValue)
2021private bool TryExtractStringAndStringValueFromAttribute(CustomAttributeHandle handle, out string? string1Value, out string? string2Value)
2029private bool TryExtractBoolArrayValueFromAttribute(CustomAttributeHandle handle, out ImmutableArray<bool> value)
2034private bool TryExtractByteArrayValueFromAttribute(CustomAttributeHandle handle, out ImmutableArray<byte> value)
2039private bool TryExtractStringArrayValueFromAttribute(CustomAttributeHandle handle, out ImmutableArray<string?> value)
2044private bool TryExtractValueFromAttribute<T>(CustomAttributeHandle handle, out T? value, AttributeValueExtractor<T?> valueExtractor)
2511public readonly CustomAttributeHandle Handle;
2514public AttributeInfo(CustomAttributeHandle handle, int signatureIndex)
2534foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute))
2567foreach (var attributeHandle in metadataReader.GetCustomAttributes(hasAttribute))
2593foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute))
2614foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute))
2650foreach (var attributeHandle in MetadataReader.GetCustomAttributes(typeDef))
2672private void RegisterNoPiaLocalType(TypeDefinitionHandle typeDef, CustomAttributeHandle customAttribute, int signatureIndex)
2727private int IsTypeIdentifierAttribute(CustomAttributeHandle customAttribute)
2757CustomAttributeHandle customAttribute,
2778CustomAttributeHandle customAttribute,
2921internal int GetTargetAttributeSignatureIndex(CustomAttributeHandle customAttribute, AttributeDescription description)
2942private static int GetTargetAttributeSignatureIndex(MetadataReader metadataReader, CustomAttributeHandle customAttribute, AttributeDescription description, out bool matchedAttributeType)
3068CustomAttributeHandle customAttribute,
3082CustomAttributeHandle customAttribute,
3213foreach (var attributeHandle in MetadataReader.CustomAttributes)
3656public BlobHandle GetCustomAttributeValueOrThrow(CustomAttributeHandle handle)
Microsoft.CodeAnalysis.CSharp (16)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
Microsoft.CodeAnalysis.Test.Utilities (6)
Microsoft.CodeAnalysis.VisualBasic (10)
Microsoft.DotNet.SignTool (1)
RunTests (1)
System.Diagnostics.FileVersionInfo (1)
System.Reflection.Metadata (38)
System.Reflection.MetadataLoadContext (9)