21 references to Identifier
Microsoft.CodeAnalysis.CSharp (13)
_generated\0\Syntax.xml.Main.Generated.cs (1)
2086
=> node.Update(VisitList(node.AttributeLists), VisitList(node.Modifiers), VisitToken(node.TildeToken), VisitToken(node.
Identifier
), (ParameterListSyntax?)Visit(node.ParameterList) ?? throw new ArgumentNullException("parameterList"), (BlockSyntax?)Visit(node.Body), (ArrowExpressionClauseSyntax?)Visit(node.ExpressionBody), VisitToken(node.SemicolonToken));
_generated\2\Syntax.xml.Syntax.Generated.cs (8)
13011
if (attributeLists != this.AttributeLists || modifiers != this.Modifiers || tildeToken != this.TildeToken || identifier != this.
Identifier
|| parameterList != this.ParameterList || body != this.Body || expressionBody != this.ExpressionBody || semicolonToken != this.SemicolonToken)
13022
public new DestructorDeclarationSyntax WithAttributeLists(SyntaxList<AttributeListSyntax> attributeLists) => Update(attributeLists, this.Modifiers, this.TildeToken, this.
Identifier
, this.ParameterList, this.Body, this.ExpressionBody, this.SemicolonToken);
13024
public new DestructorDeclarationSyntax WithModifiers(SyntaxTokenList modifiers) => Update(this.AttributeLists, modifiers, this.TildeToken, this.
Identifier
, this.ParameterList, this.Body, this.ExpressionBody, this.SemicolonToken);
13025
public DestructorDeclarationSyntax WithTildeToken(SyntaxToken tildeToken) => Update(this.AttributeLists, this.Modifiers, tildeToken, this.
Identifier
, this.ParameterList, this.Body, this.ExpressionBody, this.SemicolonToken);
13028
public new DestructorDeclarationSyntax WithParameterList(ParameterListSyntax parameterList) => Update(this.AttributeLists, this.Modifiers, this.TildeToken, this.
Identifier
, parameterList, this.Body, this.ExpressionBody, this.SemicolonToken);
13030
public new DestructorDeclarationSyntax WithBody(BlockSyntax? body) => Update(this.AttributeLists, this.Modifiers, this.TildeToken, this.
Identifier
, this.ParameterList, body, this.ExpressionBody, this.SemicolonToken);
13032
public new DestructorDeclarationSyntax WithExpressionBody(ArrowExpressionClauseSyntax? expressionBody) => Update(this.AttributeLists, this.Modifiers, this.TildeToken, this.
Identifier
, this.ParameterList, this.Body, expressionBody, this.SemicolonToken);
13034
public new DestructorDeclarationSyntax WithSemicolonToken(SyntaxToken semicolonToken) => Update(this.AttributeLists, this.Modifiers, this.TildeToken, this.
Identifier
, this.ParameterList, this.Body, this.ExpressionBody, semicolonToken);
Symbols\Source\SourceDestructorSymbol.cs (3)
32
if (syntax.
Identifier
.ValueText != containingType.Name && !containingType.IsExtension)
34
diagnostics.Add(ErrorCode.ERR_BadDestructorName, syntax.
Identifier
.GetLocation());
78
location = syntax.
Identifier
.GetLocation();
Symbols\Source\SourceMemberContainerSymbol.cs (1)
5731
destructorSyntax.
Identifier
,
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
59
return ((DestructorDeclarationSyntax)member).
Identifier
;
Microsoft.CodeAnalysis.CSharp.Features (4)
CodeLens\CSharpCodeLensMemberFinder.cs (1)
121
_memberBuilder.Add(new CodeLensMember(node, node.
Identifier
.Span));
EditAndContinue\SyntaxComparer.cs (1)
1471
return ((DestructorDeclarationSyntax)node).
Identifier
;
Organizing\Organizers\DestructorDeclarationOrganizer.cs (1)
32
syntax.
Identifier
,
SolutionExplorer\CSharpSolutionExplorerSymbolTreeItemProvider.cs (1)
177
AddConstructorOrDestructorDeclaration(destructorDeclaration, destructorDeclaration.
Identifier
);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Classification\ClassificationHelpers.cs (1)
222
else if (token.Parent is DestructorDeclarationSyntax destructorDeclaration && destructorDeclaration.
Identifier
== token)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
59
return ((DestructorDeclarationSyntax)member).
Identifier
;
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Extensions\MemberDeclarationSyntaxExtensions.cs (1)
59
return ((DestructorDeclarationSyntax)member).
Identifier
;