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