9 references to IsOrDerivedFromWellKnownClass
Microsoft.CodeAnalysis.VisualBasic (9)
Binding\Binder_Statements.vb (3)
4805
ElseIf Not exceptionType.
IsOrDerivedFromWellKnownClass
(WellKnownType.System_Exception, Compilation, useSiteInfo) Then
4826
Debug.Assert(exceptionType.
IsOrDerivedFromWellKnownClass
(WellKnownType.System_Exception, Compilation, CompoundUseSiteInfo(Of AssemblySymbol).Discarded))
5189
If Not exceptionType.
IsOrDerivedFromWellKnownClass
(WellKnownType.System_Exception, Compilation, useSiteInfo) Then
SymbolDisplay\SymbolDisplayVisitor_Minimal.vb (1)
206
DirectCast(derivedType, NamedTypeSymbol).
IsOrDerivedFromWellKnownClass
(WellKnownType.System_Attribute,
Symbols\Attributes\AttributeData.vb (2)
185
_lazyIsSecurityAttribute = Me.AttributeClass.
IsOrDerivedFromWellKnownClass
(WellKnownType.System_Security_Permissions_SecurityAttribute, comp, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded).ToThreeState()
239
If firstArgType IsNot Nothing AndAlso firstArgType.
IsOrDerivedFromWellKnownClass
(WellKnownType.System_Security_Permissions_SecurityAction, compilation, useSiteInfo) Then
Symbols\Source\SourceNamedTypeSymbol.vb (1)
2127
Debug.Assert(Me.
IsOrDerivedFromWellKnownClass
(WellKnownType.System_Attribute, DeclaringCompilation, CompoundUseSiteInfo(Of AssemblySymbol).Discarded) OrElse Me.SpecialType = Microsoft.CodeAnalysis.SpecialType.System_Object)
Symbols\Symbol_Attributes.vb (1)
496
Debug.Assert(attributeType.
IsOrDerivedFromWellKnownClass
(WellKnownType.System_Attribute, compilation, CompoundUseSiteInfo(Of AssemblySymbol).Discarded))
Symbols\WellKnownMembers.vb (1)
359
Return DirectCast(type, NamedTypeSymbol).
IsOrDerivedFromWellKnownClass
(WellKnownType.System_Attribute, Me, useSiteInfo:=CompoundUseSiteInfo(Of AssemblySymbol).Discarded)