7 references to ThisParameterSymbol
Microsoft.CodeAnalysis.CSharp (6)
Compilation\CSharpSemanticModel.cs (5)
3748
return new
ThisParameterSymbol
(containingMember as MethodSymbol, typeOfThis);
3762
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, containingType);
3769
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, containingType);
3786
thisParam = containingMember.EnclosingThisSymbol() ?? new
ThisParameterSymbol
(null, containingType);
3797
thisParam = new
ThisParameterSymbol
(containingMember as MethodSymbol, typeOfThis);
Symbols\Source\ThisParameterSymbol.cs (1)
134
internal ThisParameterSymbol(MethodSymbol forMethod) :
this
(forMethod, forMethod.ContainingType)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Semantics\RefFieldTests.cs (1)
11632
var thisParameter = new
ThisParameterSymbol
(forMethod: null, type); // "this" parameter for property for instance.