15 references to GetCustomAttributes
BuildValidator (1)
Util.cs (1)
46
foreach (var attributeHandle in reader.
GetCustomAttributes
(Handle.AssemblyDefinition))
Microsoft.CodeAnalysis (9)
Emit\EditAndContinue\DeltaMetadataWriter.cs (3)
1013
int xOrdinal = MetadataTokens.GetRowNumber(_previousGeneration.OriginalMetadata.MetadataReader.
GetCustomAttributes
(x.parentHandle).FirstOrDefault());
1014
int yOrdinal = MetadataTokens.GetRowNumber(_previousGeneration.OriginalMetadata.MetadataReader.
GetCustomAttributes
(y.parentHandle).FirstOrDefault());
1049
var originalCustomAttributes = _previousGeneration.OriginalMetadata.MetadataReader.
GetCustomAttributes
(parentHandle);
MetadataReader\PEModule.cs (6)
2534
foreach (var attributeHandle in MetadataReader.
GetCustomAttributes
(hasAttribute))
2567
foreach (var attributeHandle in metadataReader.
GetCustomAttributes
(hasAttribute))
2593
foreach (var attributeHandle in MetadataReader.
GetCustomAttributes
(hasAttribute))
2614
foreach (var attributeHandle in MetadataReader.
GetCustomAttributes
(hasAttribute))
2650
foreach (var attributeHandle in MetadataReader.
GetCustomAttributes
(typeDef))
3652
return MetadataReader.
GetCustomAttributes
(handle);
Microsoft.CodeAnalysis.CSharp (1)
Symbols\Metadata\PE\PEModuleSymbol.cs (1)
316
attributes = Module.MetadataReader.
GetCustomAttributes
(handle);
Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests (1)
Metadata\WinMdMetadataTests.cs (1)
240
var attributeHandle = module.Module.MetadataReader.
GetCustomAttributes
(c.Handle).Single();
System.Reflection.Metadata (2)
System\Reflection\Metadata\MetadataReader.WinMD.cs (2)
505
foreach (var caHandle in
GetCustomAttributes
(methodDef))
729
foreach (var caHandle in
GetCustomAttributes
(token))
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
21
public static CustomAttributeHandleCollection GetCustomAttributes(this EntityHandle handle, MetadataReader reader) => reader.
GetCustomAttributes
(handle);