17 references to GetCustomAttributes
ILCompiler.Compiler (1)
src\runtime\src\coreclr\tools\Common\Compiler\TypeMapMetadata.cs (1)
306foreach (CustomAttributeHandle attrHandle in currentAssembly.MetadataReader.GetCustomAttributes(EntityHandle.AssemblyDefinition))
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.Scope.cs (1)
75Ecma.CustomAttributeHandleCollection moduleAttributes = reader.GetCustomAttributes(Ecma.Ecma335.MetadataTokens.EntityHandle(0x1));
ILCompiler.ReadyToRun (1)
src\runtime\src\coreclr\tools\Common\Compiler\TypeMapMetadata.cs (1)
306foreach (CustomAttributeHandle attrHandle in currentAssembly.MetadataReader.GetCustomAttributes(EntityHandle.AssemblyDefinition))
Microsoft.CodeAnalysis (9)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
1027int xOrdinal = MetadataTokens.GetRowNumber(_previousGeneration.OriginalMetadata.MetadataReader.GetCustomAttributes(x.parentHandle).FirstOrDefault()); 1028int yOrdinal = MetadataTokens.GetRowNumber(_previousGeneration.OriginalMetadata.MetadataReader.GetCustomAttributes(y.parentHandle).FirstOrDefault()); 1063var originalCustomAttributes = _previousGeneration.OriginalMetadata.MetadataReader.GetCustomAttributes(parentHandle);
MetadataReader\PEModule.cs (6)
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)) 3653return MetadataReader.GetCustomAttributes(handle);
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
316attributes = Module.MetadataReader.GetCustomAttributes(handle);
Microsoft.Diagnostics.DataContractReader.Legacy (1)
MetaDataImportImpl.cs (1)
966foreach (CustomAttributeHandle caHandle in _reader.GetCustomAttributes(parent))
System.Reflection.Metadata (2)
System\Reflection\Metadata\MetadataReader.WinMD.cs (2)
505foreach (var caHandle in GetCustomAttributes(methodDef)) 729foreach (var caHandle in GetCustomAttributes(token))
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
21public static CustomAttributeHandleCollection GetCustomAttributes(this EntityHandle handle, MetadataReader reader) => reader.GetCustomAttributes(handle);