4 references to IsInstance
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Expressions.cs (1)
9715bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (1)
447bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Lookup.cs (2)
1610else if ((options & LookupOptions.MustBeInstance) != 0 && !IsInstance(symbol)) 1614else if ((options & LookupOptions.MustNotBeInstance) != 0 && IsInstance(symbol))