6 references to WithIdentifier
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\RemoveUnusedParametersAndValues\CSharpRemoveUnusedValuesCodeFixProvider.cs (1)
69return variableDeclarator.WithIdentifier(newName.WithTriviaFrom(variableDeclarator.Identifier));
src\roslyn\src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
490.WithIdentifier(declarator.Identifier.WithTrailingTrivia(newLeadingTrivia))
Microsoft.CodeAnalysis.CSharp.Features (4)
EncapsulateField\CSharpEncapsulateFieldService.cs (1)
60var updatedDeclarator = declarator.WithIdentifier(newIdentifier).WithAdditionalAnnotations(tempAnnotation);
ReplaceConditionalWithStatements\CSharpReplaceConditionalWithStatementsCodeRefactoringProvider.cs (1)
80variable.WithInitializer(null).WithIdentifier(variable.Identifier.WithTrailingTrivia()));
src\roslyn\src\Analyzers\CSharp\CodeFixes\RemoveUnusedParametersAndValues\CSharpRemoveUnusedValuesCodeFixProvider.cs (1)
69return variableDeclarator.WithIdentifier(newName.WithTriviaFrom(variableDeclarator.Identifier));
src\roslyn\src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (1)
490.WithIdentifier(declarator.Identifier.WithTrailingTrivia(newLeadingTrivia))