21 references to ThisKeyword
Microsoft.CodeAnalysis.CSharp (12)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2098
=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), (TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), (ExplicitInterfaceSpecifierSyntax?)Visit(node.ExplicitInterfaceSpecifier), VisitToken(node.
ThisKeyword
), (BracketedParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), (AccessorListSyntax?)Visit(node.AccessorList), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (9)
13443
if (attributeLists != this.AttributeLists || modifiers != this.Modifiers || type != this.Type || explicitInterfaceSpecifier != this.ExplicitInterfaceSpecifier || thisKeyword != this.
ThisKeyword
|| parameterList != this.ParameterList || accessorList != this.AccessorList || expressionBody != this.ExpressionBody || semicolonToken != this.SemicolonToken)
13454
public new IndexerDeclarationSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.
ThisKeyword
, this.ParameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13456
public new IndexerDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.AttributeLists, modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.
ThisKeyword
, this.ParameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13458
public new IndexerDeclarationSyntax WithType(TypeSyntax type) => Update(this.AttributeLists, this.Modifiers, type, this.ExplicitInterfaceSpecifier, this.
ThisKeyword
, this.ParameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13460
public new IndexerDeclarationSyntax WithExplicitInterfaceSpecifier(ExplicitInterfaceSpecifierSyntax? explicitInterfaceSpecifier) => Update(this.AttributeLists, this.Modifiers, this.Type, explicitInterfaceSpecifier, this.
ThisKeyword
, this.ParameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13462
public IndexerDeclarationSyntax WithParameterList(BracketedParameterListSyntax parameterList) => Update(this.AttributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.
ThisKeyword
, parameterList, this.AccessorList, this.ExpressionBody, this.SemicolonToken);
13464
public new IndexerDeclarationSyntax WithAccessorList(AccessorListSyntax? accessorList) => Update(this.AttributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.
ThisKeyword
, this.ParameterList, accessorList, this.ExpressionBody, this.SemicolonToken);
13465
public IndexerDeclarationSyntax WithExpressionBody(ArrowExpressionClauseSyntax? expressionBody) => Update(this.AttributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.
ThisKeyword
, this.ParameterList, this.AccessorList, expressionBody, this.SemicolonToken);
13466
public IndexerDeclarationSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.Modifiers, this.Type, this.ExplicitInterfaceSpecifier, this.
ThisKeyword
, this.ParameterList, this.AccessorList, this.ExpressionBody, semicolonToken);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5869
indexerSyntax.
ThisKeyword
,
Symbols\Source\SourcePropertySymbol.cs (1)
29
var location = syntax.
ThisKeyword
.GetLocation();
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
src\roslyn\src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
199
IndexerDeclarationSyntax indexerDeclaration => indexerDeclaration.
ThisKeyword
,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
61
return ((IndexerDeclarationSyntax)member).
ThisKeyword
;
Microsoft.CodeAnalysis.CSharp.Features (4)
InheritanceMargin\CSharpInheritanceMarginService.cs (1)
73
IndexerDeclarationSyntax indexerDeclarationNode => indexerDeclarationNode.
ThisKeyword
,
Organizing\Organizers\IndexerDeclarationOrganizer.cs (1)
34
thisKeyword: syntax.
ThisKeyword
,
SolutionExplorer\CSharpSolutionExplorerSymbolTreeItemProvider.cs (1)
367
indexerDeclaration.
ThisKeyword
));
src\roslyn\src\Analyzers\CSharp\Analyzers\MakeStructMemberReadOnly\CSharpMakeStructMemberReadOnlyAnalyzer.cs (1)
199
IndexerDeclarationSyntax indexerDeclaration => indexerDeclaration.
ThisKeyword
,
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
FindSymbols\CSharpDeclaredSymbolInfoFactoryService.cs (1)
341
indexerDecl.
ThisKeyword
.Span,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
61
return ((IndexerDeclarationSyntax)member).
ThisKeyword
;
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
61
return ((IndexerDeclarationSyntax)member).
ThisKeyword
;