5 references to HasThis
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (3)
2456if (!HasThis(isExplicit: true, inStaticContext: out inStaticContext)) 2509if (!HasThis(isExplicit: true, inStaticContext: out inStaticContext)) 9714bool 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;