24 instantiations of CustomAttributeHandleCollection
System.Reflection.Metadata (24)
System\Reflection\Metadata\MetadataReader.cs (2)
1033public CustomAttributeHandleCollection CustomAttributes => new CustomAttributeHandleCollection(this); 1175return new CustomAttributeHandleCollection(this, handle);
System\Reflection\Metadata\TypeSystem\AssemblyDefinition.cs (1)
68return new CustomAttributeHandleCollection(_reader, EntityHandle.AssemblyDefinition);
System\Reflection\Metadata\TypeSystem\AssemblyFile.cs (1)
59return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\AssemblyReference.cs (2)
125return new CustomAttributeHandleCollection(_reader, AssemblyReferenceHandle.FromRowId(RowId)); 202return new CustomAttributeHandleCollection(_reader, AssemblyReferenceHandle.FromRowId(_reader.WinMDMscorlibRef));
System\Reflection\Metadata\TypeSystem\EventDefinition.cs (1)
53return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\ExportedType.cs (1)
86return new CustomAttributeHandleCollection(reader, Handle);
System\Reflection\Metadata\TypeSystem\FieldDefinition.cs (1)
144return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\GenericParameter.cs (1)
87return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\GenericParameterConstraint.cs (1)
50return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\InterfaceImplementation.cs (1)
36return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\ManifestResource.cs (1)
73return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\MemberReference.cs (1)
114return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\MethodDefinition.cs (1)
139return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\MethodImplementation.cs (1)
50return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\MethodSpecification.cs (1)
58return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\ModuleDefinition.cs (1)
60return new CustomAttributeHandleCollection(_reader, EntityHandle.ModuleDefinition);
System\Reflection\Metadata\TypeSystem\ModuleReference.cs (1)
31return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\Parameter.cs (1)
66return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\PropertyDefinition.cs (1)
65return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\StandaloneSignature.cs (1)
51return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (1)
206return new CustomAttributeHandleCollection(_reader, Handle);
System\Reflection\Metadata\TypeSystem\TypeSpecification.cs (1)
40return new CustomAttributeHandleCollection(_reader, Handle);
70 references to CustomAttributeHandleCollection
ILCompiler.Compiler (7)
Compiler\CustomAttributeExtensions.cs (3)
32var attributeHandles = prop.GetCustomAttributes; 61var attributeHandles = @event.GetCustomAttributes; 75var attributeHandles = metadataReader.GetModuleDefinition().GetCustomAttributes();
Compiler\Dataflow\FlowAnnotations.cs (1)
308private static DynamicallyAccessedMemberTypes GetMemberTypesForDynamicallyAccessedMembersAttribute(MetadataReader reader, CustomAttributeHandleCollection customAttributeHandles)
Compiler\DependencyAnalysis\CustomAttributeBasedDependencyAlgorithm.cs (1)
99private static void AddDependenciesDueToCustomAttributes(ref CombinedDependencyList dependencies, object condition, NodeFactory factory, EcmaModule module, CustomAttributeHandleCollection attributeHandles, TypeSystemEntity parent)
src\runtime\src\coreclr\tools\Common\Compiler\EventPseudoDesc.cs (1)
50public CustomAttributeHandleCollection GetCustomAttributes
src\runtime\src\coreclr\tools\Common\Compiler\PropertyPseudoDesc.cs (1)
45public CustomAttributeHandleCollection GetCustomAttributes
ILCompiler.MetadataTransform (10)
ILCompiler\Metadata\Transform.CustomAttribute.cs (1)
20private List<CustomAttribute> HandleCustomAttributes(Cts.Ecma.EcmaModule module, Ecma.CustomAttributeHandleCollection attributes)
ILCompiler\Metadata\Transform.Event.cs (1)
68Ecma.CustomAttributeHandleCollection customAttributes = eventDef.GetCustomAttributes();
ILCompiler\Metadata\Transform.Field.cs (1)
71Ecma.CustomAttributeHandleCollection customAttributes = fieldDef.GetCustomAttributes();
ILCompiler\Metadata\Transform.Method.cs (2)
104Ecma.CustomAttributeHandleCollection paramAttributes = param.GetCustomAttributes(); 113Ecma.CustomAttributeHandleCollection attributes = methodDef.GetCustomAttributes();
ILCompiler\Metadata\Transform.Parameter.cs (1)
39Ecma.CustomAttributeHandleCollection customAttributes = genParamDef.GetCustomAttributes();
ILCompiler\Metadata\Transform.Property.cs (1)
86Ecma.CustomAttributeHandleCollection customAttributes = propDef.GetCustomAttributes();
ILCompiler\Metadata\Transform.Scope.cs (2)
57Ecma.CustomAttributeHandleCollection customAttributes = ecmaAssembly.AssemblyDefinition.GetCustomAttributes(); 75Ecma.CustomAttributeHandleCollection moduleAttributes = reader.GetCustomAttributes(Ecma.Ecma335.MetadataTokens.EntityHandle(0x1));
ILCompiler\Metadata\Transform.Type.cs (1)
351Ecma.CustomAttributeHandleCollection customAttributes = ecmaRecord.GetCustomAttributes();
ILCompiler.ReadyToRun (3)
Compiler\AssemblyExtensions.cs (1)
24var attributeHandles = assembly.AssemblyDefinition.GetCustomAttributes();
src\runtime\src\coreclr\tools\Common\Compiler\EventPseudoDesc.cs (1)
50public CustomAttributeHandleCollection GetCustomAttributes
src\runtime\src\coreclr\tools\Common\Compiler\PropertyPseudoDesc.cs (1)
45public CustomAttributeHandleCollection GetCustomAttributes
ILCompiler.TypeSystem (6)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
520private MethodImportAttributes GetImportAttributesFromBestFitMappingAttribute(CustomAttributeHandleCollection attributeHandles)
src\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\MetadataExtensions.cs (5)
33var attributeHandles = metadataReader.GetTypeDefinition(This.Handle).GetCustomAttributes(); 61var attributeHandles = metadataReader.GetMethodDefinition(This.Handle).GetCustomAttributes(); 89var attributeHandles = metadataReader.GetFieldDefinition(This.Handle).GetCustomAttributes(); 103var attributeHandles = metadataReader.GetAssemblyDefinition().GetCustomAttributes(); 113public static CustomAttributeHandle GetCustomAttributeHandle(this MetadataReader metadataReader, CustomAttributeHandleCollection customAttributes,
Microsoft.Build.Tasks.Core (1)
ManifestUtil\MetadataReader.cs (1)
91CustomAttributeHandleCollection col = def.GetCustomAttributes();
Microsoft.CodeAnalysis (2)
Emit\EditAndContinue\DeltaMetadataWriter.cs (1)
1063var originalCustomAttributes = _previousGeneration.OriginalMetadata.MetadataReader.GetCustomAttributes(parentHandle);
MetadataReader\PEModule.cs (1)
3651public CustomAttributeHandleCollection GetCustomAttributesOrThrow(EntityHandle handle)
Microsoft.CodeAnalysis.CSharp (10)
Symbols\Metadata\PE\PEAssemblySymbol.cs (1)
152if (!containingModule.TryGetNonEmptyCustomAttributes(_assembly.Handle, out var customAttributeHandles))
Symbols\Metadata\PE\PEEventSymbol.cs (1)
391if (!containingModule.TryGetNonEmptyCustomAttributes(_handle, out var customAttributeHandles))
Symbols\Metadata\PE\PEFieldSymbol.cs (1)
619if (!containingModule.TryGetNonEmptyCustomAttributes(_handle, out var customAttributeHandles))
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
1061if (!containingModule.TryGetNonEmptyCustomAttributes(_handle, out var customAttributeHandles))
Symbols\Metadata\PE\PEModuleSymbol.cs (2)
312public bool TryGetNonEmptyCustomAttributes(EntityHandle handle, out CustomAttributeHandleCollection attributes) 331if (!TryGetNonEmptyCustomAttributes(token, out var customAttributeHandles))
Symbols\Metadata\PE\PENamedTypeSymbol.cs (1)
992if (!containingModule.TryGetNonEmptyCustomAttributes(_handle, out var customAttributeHandles))
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
1132if (!containingModule.TryGetNonEmptyCustomAttributes(_handle, out var customAttributeHandles))
Symbols\Metadata\PE\PEPropertySymbol.cs (1)
830if (!containingModule.TryGetNonEmptyCustomAttributes(_handle, out var customAttributeHandles))
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
652if (!containingModule.TryGetNonEmptyCustomAttributes(Handle, out var customAttributeHandles))
Microsoft.NET.HostModel (1)
ComHost\ClsidMap.cs (1)
175private static CustomAttributeHandle GetComVisibleAttribute(MetadataReader reader, CustomAttributeHandleCollection customAttributes)
System.Reflection.Metadata (24)
System\Reflection\Metadata\MetadataReader.cs (2)
1033public CustomAttributeHandleCollection CustomAttributes => new CustomAttributeHandleCollection(this); 1173public CustomAttributeHandleCollection GetCustomAttributes(EntityHandle handle)
System\Reflection\Metadata\TypeSystem\AssemblyDefinition.cs (1)
66public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\AssemblyFile.cs (1)
57public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\AssemblyReference.cs (2)
118public CustomAttributeHandleCollection GetCustomAttributes() 199private CustomAttributeHandleCollection GetVirtualCustomAttributes()
System\Reflection\Metadata\TypeSystem\EventDefinition.cs (1)
51public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\ExportedType.cs (1)
84public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\FieldDefinition.cs (1)
142public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\GenericParameter.cs (1)
85public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\GenericParameterConstraint.cs (1)
48public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\InterfaceImplementation.cs (1)
34public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\ManifestResource.cs (1)
71public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\MemberReference.cs (1)
112public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\MethodDefinition.cs (1)
137public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\MethodImplementation.cs (1)
48public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\MethodSpecification.cs (1)
56public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\ModuleDefinition.cs (1)
58public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\ModuleReference.cs (1)
29public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\Parameter.cs (1)
64public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\PropertyDefinition.cs (1)
63public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\StandaloneSignature.cs (1)
49public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\TypeDefinition.cs (1)
204public CustomAttributeHandleCollection GetCustomAttributes()
System\Reflection\Metadata\TypeSystem\TypeSpecification.cs (1)
38public CustomAttributeHandleCollection GetCustomAttributes()
System.Reflection.MetadataLoadContext (6)
System\Reflection\TypeLoading\CustomAttributes\Ecma\EcmaCustomAttributeHelpers.cs (4)
20public static IEnumerable<CustomAttributeData> ToTrueCustomAttributes(this CustomAttributeHandleCollection handles, EcmaModule module) 30public static bool IsCustomAttributeDefined(this CustomAttributeHandleCollection handles, ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, EcmaModule module) 35public static CustomAttributeData? TryFindCustomAttribute(this CustomAttributeHandleCollection handles, ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, EcmaModule module) 43private static CustomAttributeHandle FindCustomAttributeByName(this CustomAttributeHandleCollection handles, ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name, EcmaModule module)
System\Reflection\TypeLoading\General\Ecma\EcmaDefaultValueProcessing.cs (1)
78public static bool TryFindRawDefaultValueFromCustomAttributes(this CustomAttributeHandleCollection handles, EcmaModule module, out object? rawDefaultValue)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
21public static CustomAttributeHandleCollection GetCustomAttributes(this EntityHandle handle, MetadataReader reader) => reader.GetCustomAttributes(handle);