10 instantiations of ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (10)
Compilation\CSharpSemanticModel.cs (5)
3736return new ThisParameterSymbol(containingMember as MethodSymbol, typeOfThis); 3750thisParam = new ThisParameterSymbol(containingMember as MethodSymbol, containingType); 3757thisParam = new ThisParameterSymbol(containingMember as MethodSymbol, containingType); 3774thisParam = containingMember.EnclosingThisSymbol() ?? new ThisParameterSymbol(null, containingType); 3785thisParam = 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)
822Interlocked.CompareExchange(ref _lazyThisParameter, new ThisParameterSymbol(this), null);
Symbols\SubstitutedMethodSymbol.cs (1)
326? new ThisParameterSymbol(this)
Symbols\Synthesized\SynthesizedInstanceMethodSymbol.cs (1)
51Interlocked.CompareExchange(ref _lazyThisParameter, new ThisParameterSymbol(this), null);
3 references to ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (3)
Binder\Binder_Invocation.cs (1)
1793Error(diagnostics, ErrorCode.WRN_ImplicitCopyInReadOnlyMember, receiver.Syntax, method, ThisParameterSymbol.SymbolName);
FlowAnalysis\NullableWalker.cs (1)
2152|| (!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)