3 instantiations of CustomAttributeHandle
System.Reflection.Metadata (3)
142 references to CustomAttributeHandle
BuildValidator (1)
Crossgen2Tasks (1)
Microsoft.Build.Tasks.Core (2)
Microsoft.Cci.Extensions (1)
Microsoft.CodeAnalysis (39)
MetadataReader\PEModule.cs (29)
1104internal CustomAttributeHandle GetAttributeHandle(EntityHandle token, AttributeDescription description)
1810private bool TryGetAttributeReader(CustomAttributeHandle handle, out BlobReader blobReader)
1956internal bool TryExtractStringValueFromAttribute(CustomAttributeHandle handle, out string? value)
1961internal bool TryExtractLongValueFromAttribute(CustomAttributeHandle handle, out long value)
1967private bool TryExtractDecimalValueFromDecimalConstantAttribute(CustomAttributeHandle handle, out decimal value)
1972private bool TryExtractIntAndIntValueFromAttribute(CustomAttributeHandle handle, out int value1, out int value2)
1985private bool TryExtractStringAndIntValueFromAttribute(CustomAttributeHandle handle, out string? stringValue, out int intValue)
1994private bool TryExtractStringAndStringValueFromAttribute(CustomAttributeHandle handle, out string? string1Value, out string? string2Value)
2002private bool TryExtractBoolArrayValueFromAttribute(CustomAttributeHandle handle, out ImmutableArray<bool> value)
2007private bool TryExtractByteArrayValueFromAttribute(CustomAttributeHandle handle, out ImmutableArray<byte> value)
2012private bool TryExtractStringArrayValueFromAttribute(CustomAttributeHandle handle, out ImmutableArray<string?> value)
2017private bool TryExtractValueFromAttribute<T>(CustomAttributeHandle handle, out T? value, AttributeValueExtractor<T?> valueExtractor)
2497public readonly CustomAttributeHandle Handle;
2500public AttributeInfo(CustomAttributeHandle handle, int signatureIndex)
2520foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute))
2553foreach (var attributeHandle in metadataReader.GetCustomAttributes(hasAttribute))
2579foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute))
2600foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute))
2636foreach (var attributeHandle in MetadataReader.GetCustomAttributes(typeDef))
2658private void RegisterNoPiaLocalType(TypeDefinitionHandle typeDef, CustomAttributeHandle customAttribute, int signatureIndex)
2713private int IsTypeIdentifierAttribute(CustomAttributeHandle customAttribute)
2743CustomAttributeHandle customAttribute,
2764CustomAttributeHandle customAttribute,
2907internal int GetTargetAttributeSignatureIndex(CustomAttributeHandle customAttribute, AttributeDescription description)
2928private static int GetTargetAttributeSignatureIndex(MetadataReader metadataReader, CustomAttributeHandle customAttribute, AttributeDescription description, out bool matchedAttributeType)
3054CustomAttributeHandle customAttribute,
3068CustomAttributeHandle customAttribute,
3199foreach (var attributeHandle in MetadataReader.CustomAttributes)
3642public BlobHandle GetCustomAttributeValueOrThrow(CustomAttributeHandle handle)
Microsoft.CodeAnalysis.CSharp (26)
Symbols\Metadata\PE\PEModuleSymbol.cs (16)
273foreach (var customAttributeHandle in Module.GetCustomAttributesOrThrow(typerefAssemblyAttributesGoHere))
310out CustomAttributeHandle filteredOutAttribute1,
317out CustomAttributeHandle filteredOutAttribute1,
319out CustomAttributeHandle filteredOutAttribute2,
330out CustomAttributeHandle filteredOutAttribute1,
332out CustomAttributeHandle filteredOutAttribute2,
334out CustomAttributeHandle filteredOutAttribute3,
336out CustomAttributeHandle filteredOutAttribute4,
338out CustomAttributeHandle filteredOutAttribute5,
340out CustomAttributeHandle filteredOutAttribute6,
353foreach (var customAttributeHandle in _module.GetCustomAttributesOrThrow(token))
412bool matchesFilter(CustomAttributeHandle handle, AttributeDescription filter)
429out CustomAttributeHandle paramArrayAttribute)
438foreach (var attr in _module.GetCustomAttributesOrThrow(token))
470filteredOutAttribute1: out CustomAttributeHandle extensionAttribute,
472filteredOutAttribute2: out CustomAttributeHandle isReadOnlyAttribute,
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (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)