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