4 references to EscapeIdentifier
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\UseDeconstruction\CSharpUseDeconstructionCodeFixProvider.cs (1)
163
e => SingleVariableDesignation(Identifier(e.Name.
EscapeIdentifier
())))]));
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\Extensions\StringExtensions.cs (1)
35
var escaped = identifier.
EscapeIdentifier
(isQueryContext);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\InitializeParameter\InitializeParameterHelpers.cs (2)
44
var initializer = EqualsValueClause(IdentifierName(parameter.Name.
EscapeIdentifier
()));
128
IdentifierName(fieldOrProperty.Name.
EscapeIdentifier
()).WithTriviaFrom(identifierName));