5 references to HasThis
Microsoft.CodeAnalysis.CSharp (5)
Binder\Binder_Expressions.cs (3)
2456
if (!
HasThis
(isExplicit: true, inStaticContext: out inStaticContext))
2509
if (!
HasThis
(isExplicit: true, inStaticContext: out inStaticContext))
9714
bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !
HasThis
(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (1)
447
bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !
HasThis
(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Semantics\OverloadResolution\OverloadResolution.cs (1)
597
bool isStaticContext = !_binder.
HasThis
(!isImplicitReceiver, out bool inStaticContext) || inStaticContext;