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