7 references to IsInstance
Microsoft.CodeAnalysis.CSharp (7)
Binder\Binder_Expressions.cs (1)
8376bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (1)
359bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Lookup.cs (5)
1412(unwrappedSymbol is not TypeSymbol && IsInstance(unwrappedSymbol) || !(unwrappedSymbol.IsAbstract || unwrappedSymbol.IsVirtual))) 1476else if ((options & LookupOptions.MustBeInstance) != 0 && !IsInstance(unwrappedSymbol)) 1481else if ((options & LookupOptions.MustNotBeInstance) != 0 && IsInstance(unwrappedSymbol)) 1610else if ((options & LookupOptions.MustBeInstance) != 0 && !IsInstance(symbol)) 1614else if ((options & LookupOptions.MustNotBeInstance) != 0 && IsInstance(symbol))