7 references to IsInstance
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
11087
bool useType =
IsInstance
(typeOrValue.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (1)
456
bool useType =
IsInstance
(typeOrValue.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Lookup.cs (5)
1518
(unwrappedSymbol is not TypeSymbol &&
IsInstance
(unwrappedSymbol) || !(unwrappedSymbol.IsAbstract || unwrappedSymbol.IsVirtual)))
1582
else if ((options & LookupOptions.MustBeInstance) != 0 && !
IsInstance
(unwrappedSymbol))
1587
else if ((options & LookupOptions.MustNotBeInstance) != 0 &&
IsInstance
(unwrappedSymbol))
1716
else if ((options & LookupOptions.MustBeInstance) != 0 && !
IsInstance
(symbol))
1720
else if ((options & LookupOptions.MustNotBeInstance) != 0 &&
IsInstance
(symbol))