12 instantiations of ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (10)
Compilation\CSharpSemanticModel.cs (5)
3725return new ThisParameterSymbol(containingMember as MethodSymbol, typeOfThis); 3739thisParam = new ThisParameterSymbol(containingMember as MethodSymbol, containingType); 3746thisParam = new ThisParameterSymbol(containingMember as MethodSymbol, containingType); 3763thisParam = containingMember.EnclosingThisSymbol() ?? new ThisParameterSymbol(null, containingType); 3774thisParam = new ThisParameterSymbol(containingMember as MethodSymbol, typeOfThis);
Symbols\Metadata\PE\PEMethodSymbol.cs (1)
412_uncommonFields?._lazyThisParameter ?? InterlockedOperations.Initialize(ref AccessUncommonFields()._lazyThisParameter, new ThisParameterSymbol(this));
Symbols\Retargeting\RetargetingMethodSymbol.cs (1)
268? new ThisParameterSymbol(this)
Symbols\Source\SourceMemberMethodSymbol.cs (1)
717Interlocked.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);
Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler (1)
Symbols\EECompilationContextMethod.cs (1)
98? new ThisParameterSymbol(this)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RefFieldTests.cs (1)
11116var thisParameter = new ThisParameterSymbol(forMethod: null, type); // "this" parameter for property for instance.
3 references to ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (1)
Binder\Binder_Invocation.cs (1)
1484Error(diagnostics, ErrorCode.WRN_ImplicitCopyInReadOnlyMember, receiver.Syntax, method, ThisParameterSymbol.SymbolName);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RefFieldTests.cs (1)
11116var thisParameter = new ThisParameterSymbol(forMethod: null, type); // "this" parameter for property for instance.
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (1)
Compilation\SemanticModelAPITests.cs (1)
2053Assert.IsType<ThisParameterSymbol>(candidates[0].GetSymbol());