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