13 references to GetCustomAttributes
BuildValidator (1)
Util.cs (1)
47foreach (var attributeHandle in reader.GetCustomAttributes(Handle.AssemblyDefinition))
Microsoft.CodeAnalysis (9)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
975int xOrdinal = MetadataTokens.GetRowNumber(_previousGeneration.OriginalMetadata.MetadataReader.GetCustomAttributes(x.parentHandle).FirstOrDefault()); 976int yOrdinal = MetadataTokens.GetRowNumber(_previousGeneration.OriginalMetadata.MetadataReader.GetCustomAttributes(y.parentHandle).FirstOrDefault()); 1011var originalCustomAttributes = _previousGeneration.OriginalMetadata.MetadataReader.GetCustomAttributes(parentHandle);
MetadataReader\PEModule.cs (6)
2521foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute)) 2554foreach (var attributeHandle in metadataReader.GetCustomAttributes(hasAttribute)) 2580foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute)) 2601foreach (var attributeHandle in MetadataReader.GetCustomAttributes(hasAttribute)) 2637foreach (var attributeHandle in MetadataReader.GetCustomAttributes(typeDef)) 3639return MetadataReader.GetCustomAttributes(handle);
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);