3 instantiations of CustomAttributeHandle
System.Reflection.Metadata (3)
176 references to CustomAttributeHandle
Crossgen2Tasks (1)
ILCompiler.Compiler (17)
ILCompiler.MetadataTransform (3)
ILCompiler.ReadyToRun (4)
ILCompiler.TypeSystem (25)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\MetadataExtensions.cs (13)
20var attributeHandle = metadataReader.GetCustomAttributeHandle(metadataReader.GetTypeDefinition(This.Handle).GetCustomAttributes(),
34foreach (var attributeHandle in attributeHandles)
48var attributeHandle = metadataReader.GetCustomAttributeHandle(metadataReader.GetMethodDefinition(This.Handle).GetCustomAttributes(),
62foreach (var attributeHandle in attributeHandles)
76var attributeHandle = metadataReader.GetCustomAttributeHandle(metadataReader.GetFieldDefinition(This.Handle).GetCustomAttributes(),
90foreach (var attributeHandle in attributeHandles)
104foreach (var attributeHandle in attributeHandles)
113public static CustomAttributeHandle GetCustomAttributeHandle(this MetadataReader metadataReader, CustomAttributeHandleCollection customAttributes,
116foreach (var attributeHandle in customAttributes)
124return default(CustomAttributeHandle);
127public static bool IsEqualCustomAttributeName(CustomAttributeHandle attributeHandle, MetadataReader metadataReader,
138public static bool GetAttributeNamespaceAndName(this MetadataReader metadataReader, CustomAttributeHandle attributeHandle,
152public static bool GetAttributeTypeAndConstructor(this MetadataReader metadataReader, CustomAttributeHandle attributeHandle,
Microsoft.Build.Tasks.Core (2)
Microsoft.CodeAnalysis (39)
MetadataReader\PEModule.cs (29)
1114internal CustomAttributeHandle GetAttributeHandle(EntityHandle token, AttributeDescription description)
1838private bool TryGetAttributeReader(CustomAttributeHandle handle, out BlobReader blobReader)
1984internal bool TryExtractStringValueFromAttribute(CustomAttributeHandle handle, out string? value)
1989internal bool TryExtractLongValueFromAttribute(CustomAttributeHandle handle, out long value)
1995private bool TryExtractDecimalValueFromDecimalConstantAttribute(CustomAttributeHandle handle, out decimal value)
2000private bool TryExtractIntAndIntValueFromAttribute(CustomAttributeHandle handle, out int value1, out int value2)
2013private bool TryExtractStringAndIntValueFromAttribute(CustomAttributeHandle handle, out string? stringValue, out int intValue)
2022private bool TryExtractStringAndStringValueFromAttribute(CustomAttributeHandle handle, out string? string1Value, out string? string2Value)
2030private bool TryExtractBoolArrayValueFromAttribute(CustomAttributeHandle handle, out ImmutableArray<bool> value)
2035private bool TryExtractByteArrayValueFromAttribute(CustomAttributeHandle handle, out ImmutableArray<byte> value)
2040private bool TryExtractStringArrayValueFromAttribute(CustomAttributeHandle handle, out ImmutableArray<string?> value)
2045private bool TryExtractValueFromAttribute<T>(CustomAttributeHandle handle, out T? value, AttributeValueExtractor<T?> valueExtractor)
2512public readonly CustomAttributeHandle Handle;
2515public AttributeInfo(CustomAttributeHandle handle, int signatureIndex)
2535foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute))
2568foreach (var attributeHandle in metadataReader.GetCustomAttributes(hasAttribute))
2594foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute))
2615foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute))
2651foreach (var attributeHandle in MetadataReader.GetCustomAttributes(typeDef))
2673private void RegisterNoPiaLocalType(TypeDefinitionHandle typeDef, CustomAttributeHandle customAttribute, int signatureIndex)
2728private int IsTypeIdentifierAttribute(CustomAttributeHandle customAttribute)
2758CustomAttributeHandle customAttribute,
2779CustomAttributeHandle customAttribute,
2922internal int GetTargetAttributeSignatureIndex(CustomAttributeHandle customAttribute, AttributeDescription description)
2943private static int GetTargetAttributeSignatureIndex(MetadataReader metadataReader, CustomAttributeHandle customAttribute, AttributeDescription description, out bool matchedAttributeType)
3069CustomAttributeHandle customAttribute,
3083CustomAttributeHandle customAttribute,
3214foreach (var attributeHandle in MetadataReader.CustomAttributes)
3657public BlobHandle GetCustomAttributeValueOrThrow(CustomAttributeHandle handle)
Microsoft.CodeAnalysis.CSharp (16)
Microsoft.CodeAnalysis.VisualBasic (10)
Microsoft.Diagnostics.DataContractReader.Legacy (1)
Microsoft.NET.Build.Tasks (1)
Microsoft.NET.HostModel (6)
Microsoft.VisualStudio.TestPlatform.Common (1)
System.Diagnostics.FileVersionInfo (1)
System.Reflection.Metadata (38)
System.Reflection.MetadataLoadContext (9)
vstest.console (1)
vstest.console.arm64 (1)