9 references to Identifier
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (3)
Diagnostics\LocationsTests.cs (1)
554
var node = SyntaxFactory.IdentifierName(SyntaxFactory.
Identifier
(SyntaxFactory.TriviaList(SyntaxFactory.Whitespace(" ")), "x", default(SyntaxTriviaList)));
Syntax\SyntaxNodeTests.cs (2)
1389
var token = SyntaxFactory.
Identifier
(default(SyntaxTriviaList), "x", SyntaxTriviaList.Create(trivia));
1984
var someToken = SyntaxFactory.
Identifier
(default(SyntaxTriviaList), "", SyntaxFactory.TriviaList(SyntaxFactory.Trivia(zeroWidth), SyntaxFactory.Trivia(zeroWidth)));
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Rename\CSharpRenameRewriterLanguageService.cs (1)
714
var newIdentifierToken = SyntaxFactory.
Identifier
(newToken.LeadingTrivia, _replacementText, newToken.TrailingTrivia);
Simplification\CSharpSimplificationService.Expander.cs (1)
330
var identifier =
Identifier
(SyntaxTriviaList.Empty, inferredName, SyntaxTriviaList.Empty);
Simplification\Simplifiers\NameSimplifier.cs (1)
518
Identifier
(
Microsoft.CodeAnalysis.Workspaces.UnitTests (3)
CodeCleanup\CodeCleanupTests.cs (1)
353
root = root.ReplaceToken(previousToken, CSharp.SyntaxFactory.
Identifier
(previousToken.LeadingTrivia, previousToken.ValueText, previousToken.TrailingTrivia));
SyntaxNodeTests.cs (2)
61
return Task.FromResult<SyntaxNode>(classDecl.WithIdentifier(SyntaxFactory.
Identifier
(id.LeadingTrivia, id.ToString() + "1", id.TrailingTrivia)));
67
return Task.FromResult<SyntaxNode>(varDecl.WithIdentifier(SyntaxFactory.
Identifier
(id.LeadingTrivia, id.ToString() + "1", id.TrailingTrivia)));