5 references to GetCustomAttributes
Microsoft.CodeAnalysis (1)
DiagnosticAnalyzer\AnalyzerFileReference.cs (1)
260
foreach (CustomAttributeHandle customAttrHandle in typeDef.
GetCustomAttributes
())
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_Nullable.cs (1)
4859
checkAttributesNoDynamic(typeDef.
GetCustomAttributes
(), addOne: 0); // add one for A<T>
System.Reflection.MetadataLoadContext (3)
System\Reflection\TypeLoading\Types\Ecma\EcmaDefinitionType.cs (3)
72
protected sealed override IEnumerable<CustomAttributeData> GetTrueCustomAttributes() => TypeDefinition.
GetCustomAttributes
().ToTrueCustomAttributes(GetEcmaModule());
74
internal sealed override bool IsCustomAttributeDefined(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => TypeDefinition.
GetCustomAttributes
().IsCustomAttributeDefined(ns, name, GetEcmaModule());
75
internal sealed override CustomAttributeData? TryFindCustomAttribute(ReadOnlySpan<byte> ns, ReadOnlySpan<byte> name) => TypeDefinition.
GetCustomAttributes
().TryFindCustomAttribute(ns, name, GetEcmaModule());