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