7 references to ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (6)
Compilation\CSharpSemanticModel.cs (5)
3725
return new
ThisParameterSymbol
(containingMember as MethodSymbol, typeOfThis);
3739
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, containingType);
3746
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, containingType);
3763
thisParam = containingMember.EnclosingThisSymbol() ?? new
ThisParameterSymbol
(null, containingType);
3774
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, typeOfThis);
Symbols\Source\ThisParameterSymbol.cs (1)
17
internal ThisParameterSymbol(MethodSymbol forMethod) :
this
(forMethod, forMethod.ContainingType)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RefFieldTests.cs (1)
11116
var thisParameter = new
ThisParameterSymbol
(forMethod: null, type); // "this" parameter for property for instance.