10 instantiations of ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (10)
Compilation\CSharpSemanticModel.cs (5)
3745return new ThisParameterSymbol(containingMember as MethodSymbol, typeOfThis); 3759thisParam = new ThisParameterSymbol(containingMember as MethodSymbol, containingType); 3766thisParam = new ThisParameterSymbol(containingMember as MethodSymbol, containingType); 3783thisParam = containingMember.EnclosingThisSymbol() ?? new ThisParameterSymbol(null, containingType); 3794thisParam = 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)
850Interlocked.CompareExchange(ref _lazyThisParameter, new ThisParameterSymbol(this), null);
Symbols\SubstitutedMethodSymbol.cs (1)
327? new ThisParameterSymbol(this)
Symbols\Synthesized\SynthesizedMethodSymbol.cs (1)
57Interlocked.CompareExchange(ref _lazyThisParameter, new ThisParameterSymbol(this), null);
3 references to ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Invocation.cs (1)
1848Error(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)