15 references to Identifier
Microsoft.CodeAnalysis.CSharp (4)
Binder\Binder_Symbols.cs (1)
705SyntaxToken nameToken = argumentSyntax.Identifier;
Syntax.xml.Main.Generated.cs (1)
1555=> node.Update((TypeSyntax?)Visit(node.Type) ?? throw new ArgumentNullException("type"), VisitToken(node.Identifier));
Syntax.xml.Syntax.Generated.cs (2)
930if (type != this.Type || identifier != this.Identifier) 940public TupleElementSyntax WithType(TypeSyntax type) => Update(type, this.Identifier);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseDeconstruction\CSharpUseDeconstructionDiagnosticAnalyzer.cs (1)
236if (element.Identifier.IsKind(SyntaxKind.None))
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Analyzers\CSharp\CodeFixes\UseDeconstruction\CSharpUseDeconstructionCodeFixProvider.cs (1)
183SingleVariableDesignation(node.Identifier)));
Microsoft.CodeAnalysis.CSharp.Features (4)
SolutionExplorer\CSharpSolutionExplorerSymbolTreeItemProvider.cs (2)
463if (tupleElement.Identifier != default) 466builder.Append(tupleElement.Identifier.ValueText);
src\Analyzers\CSharp\Analyzers\UseDeconstruction\CSharpUseDeconstructionDiagnosticAnalyzer.cs (1)
236if (element.Identifier.IsKind(SyntaxKind.None))
src\Analyzers\CSharp\CodeFixes\UseDeconstruction\CSharpUseDeconstructionCodeFixProvider.cs (1)
183SingleVariableDesignation(node.Identifier)));
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Generated\Syntax.Test.xml.Generated.cs (2)
11294Assert.Equal(SyntaxKind.None, node.Identifier.Kind()); 11295var newNode = node.WithType(node.Type).WithIdentifier(node.Identifier);
Parsing\StatementParsingTests.cs (3)
259Assert.Equal(SyntaxKind.None, tt.Elements[1].Identifier.Kind()); 293Assert.Equal("y", tt.Elements[1].Identifier.ToString()); 300Assert.Equal("l", tt.Elements[1].Identifier.ToString());