5 references to HasThis
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (3)
2459if (!HasThis(isExplicit: true, inStaticContext: out inStaticContext)) 2512if (!HasThis(isExplicit: true, inStaticContext: out inStaticContext)) 9717bool 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\Semantics\OverloadResolution\OverloadResolution.cs (1)
597bool isStaticContext = !_binder.HasThis(!isImplicitReceiver, out bool inStaticContext) || inStaticContext;