10 instantiations of ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (10)
Compilation\CSharpSemanticModel.cs (5)
3745
return new
ThisParameterSymbol
(containingMember as MethodSymbol, typeOfThis);
3759
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, containingType);
3766
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, containingType);
3783
thisParam = containingMember.EnclosingThisSymbol() ?? new
ThisParameterSymbol
(null, containingType);
3794
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, typeOfThis);
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
440
_uncommonFields?._lazyThisParameter ?? InterlockedOperations.Initialize(ref AccessUncommonFields()._lazyThisParameter, new
ThisParameterSymbol
(this));
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
268
? new
ThisParameterSymbol
(this)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
850
Interlocked.CompareExchange(ref _lazyThisParameter, new
ThisParameterSymbol
(this), null);
Symbols\SubstitutedMethodSymbol.cs (1)
327
? new
ThisParameterSymbol
(this)
Symbols\Synthesized\SynthesizedMethodSymbol.cs (1)
57
Interlocked.CompareExchange(ref _lazyThisParameter, new
ThisParameterSymbol
(this), null);
3 references to ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Invocation.cs (1)
1848
Error(diagnostics, ErrorCode.WRN_ImplicitCopyInReadOnlyMember, receiver.Syntax, method,
ThisParameterSymbol
.SymbolName);
FlowAnalysis\NullableWalker.cs (1)
2250
|| (!constructor.IsStatic && containingSlot > 0 && _variables[containingSlot].Symbol is
ThisParameterSymbol
))
Lowering\ClosureConversion\ClosureConversion.Analysis.cs (1)
541
? environment.CapturedVariables.SelectAsArray(v => v is
ThisParameterSymbol
? GeneratedNames.ThisProxyFieldName() : v.Name)