6 references to IndexOfAttribute
Microsoft.CodeAnalysis.CSharp (6)
Symbols\Metadata\PE\PEModuleSymbol.cs (2)
668
return assemblyAttributes.
IndexOfAttribute
(AttributeDescription.CompilationRelaxationsAttribute) >= 0;
681
return assemblyAttributes.
IndexOfAttribute
(AttributeDescription.RuntimeCompatibilityAttribute) >= 0;
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
332
int i = boundAttributes.
IndexOfAttribute
(AttributeDescription.FieldOffsetAttribute);
Symbols\Source\SourceNamedTypeSymbol.cs (3)
1606
int index = boundAttributes.
IndexOfAttribute
(AttributeDescription.ComImportAttribute);
1654
int index = boundAttributes.
IndexOfAttribute
(AttributeDescription.CoClassAttribute);
1663
int index = boundAttributes.
IndexOfAttribute
(AttributeDescription.DefaultMemberAttribute);