8 references to IndexOfAttribute
Microsoft.CodeAnalysis.VisualBasic (8)
Compilation\MethodCompiler.vb (1)
856
If sourceTypeSymbol.TypeKind = TypeKind.Class AndAlso sourceTypeSymbol.GetAttributes().
IndexOfAttribute
(sourceTypeSymbol, AttributeDescription.DesignerGeneratedAttribute) > -1 Then
Symbols\Metadata\PE\PEModuleSymbol.vb (2)
388
Return assemblyAttributes.
IndexOfAttribute
(Me, AttributeDescription.CompilationRelaxationsAttribute) >= 0
395
Return assemblyAttributes.
IndexOfAttribute
(Me, AttributeDescription.RuntimeCompatibilityAttribute) >= 0
Symbols\Source\SourceNamedTypeSymbol.vb (3)
1974
Return GetAttributes().
IndexOfAttribute
(Me, AttributeDescription.GuidAttribute) > -1
1985
Return GetAttributes().
IndexOfAttribute
(Me, AttributeDescription.ClassInterfaceAttribute) > -1
1996
Return GetAttributes().
IndexOfAttribute
(Me, AttributeDescription.ComSourceInterfacesAttribute) > -1
Symbols\Source\SourceNamedTypeSymbol_ComClass.vb (2)
307
Dim comVisible = attrData.
IndexOfAttribute
(target, AttributeDescription.ComVisibleAttribute)
481
Dim dispIdIndex = attrData.
IndexOfAttribute
(target, AttributeDescription.DispIdAttribute)