12 instantiations of ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (12)
Compilation\CSharpSemanticModel.cs (6)
3756
return new
ThisParameterSymbol
(containingMember as MethodSymbol, typeOfThis);
3769
thisParam = new
ThisParameterSymbol
(null, containingType);
3775
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, containingType);
3782
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, containingType);
3799
thisParam = containingMember.EnclosingThisSymbol() ?? new
ThisParameterSymbol
(null, containingType);
3810
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, typeOfThis);
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
458
_uncommonFields?._lazyThisParameter ?? InterlockedOperations.Initialize(ref AccessUncommonFields()._lazyThisParameter, new
ThisParameterSymbol
(this));
Symbols\NativeIntegerTypeSymbol.cs (1)
391
? new
ThisParameterSymbol
(this, _container)
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
274
? new
ThisParameterSymbol
(this)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
857
Interlocked.CompareExchange(ref _lazyThisParameter, new
ThisParameterSymbol
(this), null);
Symbols\SubstitutedMethodSymbol.cs (1)
336
? new
ThisParameterSymbol
(this)
Symbols\Synthesized\SynthesizedMethodSymbol.cs (1)
61
Interlocked.CompareExchange(ref _lazyThisParameter, new
ThisParameterSymbol
(this), null);
3 references to ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Invocation.cs (1)
1920
Error(diagnostics, ErrorCode.WRN_ImplicitCopyInReadOnlyMember, receiver.Syntax, method,
ThisParameterSymbol
.SymbolName);
FlowAnalysis\NullableWalker.cs (1)
2311
|| (!constructor.IsStatic && containingSlot > 0 && _variables[containingSlot].Symbol is
ThisParameterSymbol
))
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
542
? environment.CapturedVariables.SelectAsArray(v => v is
ThisParameterSymbol
? GeneratedNames.ThisProxyFieldName() : v.Name)