7 references to IsInstance
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
10093
bool useType =
IsInstance
(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (1)
449
bool useType =
IsInstance
(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Lookup.cs (5)
1502
(unwrappedSymbol is not TypeSymbol &&
IsInstance
(unwrappedSymbol) || !(unwrappedSymbol.IsAbstract || unwrappedSymbol.IsVirtual)))
1566
else if ((options & LookupOptions.MustBeInstance) != 0 && !
IsInstance
(unwrappedSymbol))
1571
else if ((options & LookupOptions.MustNotBeInstance) != 0 &&
IsInstance
(unwrappedSymbol))
1700
else if ((options & LookupOptions.MustBeInstance) != 0 && !
IsInstance
(symbol))
1704
else if ((options & LookupOptions.MustNotBeInstance) != 0 &&
IsInstance
(symbol))