2 overrides of ThisExpression
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
CodeGeneration\CSharpSyntaxGenerator.cs (1)
3370public override SyntaxNode ThisExpression()
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
CodeGeneration\VisualBasicSyntaxGenerator.vb (1)
370Public Overrides Function ThisExpression() As SyntaxNode
25 references to ThisExpression
Microsoft.CodeAnalysis.CodeStyle.Fixes (7)
src\Analyzers\Core\CodeFixes\ImplementInterface\ImplementInterfaceGenerator_DisposePattern.cs (1)
214g.ThisExpression())));
src\Analyzers\Core\CodeFixes\QualifyMemberAccess\AbstractQualifyMemberAccessCodeFixProvider.cs (1)
48generator.ThisExpression(),
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (3)
126: generator.ThisExpression(); 169generator.ThisExpression()); 351var fieldAccess = factory.MemberAccessExpression(factory.ThisExpression(), factory.IdentifierName(fieldName))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
232var thisSymbol = factory.MemberAccessExpression(factory.ThisExpression(), symbolNameExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
225var thisSymbol = factory.MemberAccessExpression(factory.ThisExpression(),
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
111newArgumentsList = newArgumentsList.Insert(0, (ArgumentSyntax)generator.Argument(generator.ThisExpression()));
Microsoft.CodeAnalysis.CSharp.Features (3)
ImplementInterface\CSharpImplementExplicitlyCodeRefactoringProvider.cs (1)
130generator.AddParentheses(generator.CastExpression(interfaceType, generator.ThisExpression())),
InitializeParameter\CSharpInitializeMemberFromParameterCodeRefactoringProvider.cs (1)
86var left = (ArgumentSyntax)generator.Argument(generator.MemberAccessExpression(generator.ThisExpression(), generator.IdentifierName(fieldOrProperty.Name)));
src\Analyzers\CSharp\CodeFixes\MakeLocalFunctionStatic\MakeLocalFunctionStaticCodeFixHelper.cs (1)
111newArgumentsList = newArgumentsList.Insert(0, (ArgumentSyntax)generator.Argument(generator.ThisExpression()));
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
CodeGeneration\ExpressionGenerationTests.cs (1)
52f => f.ThisExpression(),
Microsoft.CodeAnalysis.Features (8)
AddDebuggerDisplay\AbstractAddDebuggerDisplayCodeRefactoringProvider.cs (1)
171generator.ThisExpression(),
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (1)
862generator.ThisExpression(),
EncapsulateField\AbstractEncapsulateFieldService.cs (2)
381factory.ThisExpression(), 400factory.ThisExpression(),
InitializeParameter\AbstractInitializeMemberFromParameterCodeRefactoringProviderMemberCreation.cs (1)
530generator.ThisExpression(),
ReplacePropertyWithMethods\AbstractReplacePropertyWithMethodsService.cs (2)
51return generator.MemberAccessExpression(generator.ThisExpression(), memberName); 326: Generator.ThisExpression();
Snippets\SnippetProviders\AbstractLockSnippetProvider.cs (1)
18var statement = generator.LockStatement(generator.ThisExpression(), statements: []);
Microsoft.CodeAnalysis.Workspaces (5)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (3)
126: generator.ThisExpression(); 169generator.ThisExpression()); 351var fieldAccess = factory.MemberAccessExpression(factory.ThisExpression(), factory.IdentifierName(fieldName))
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
232var thisSymbol = factory.MemberAccessExpression(factory.ThisExpression(), symbolNameExpression)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateGetHashCodeMethod.cs (1)
225var thisSymbol = factory.MemberAccessExpression(factory.ThisExpression(),