csharpstandard icon indicating copy to clipboard operation
csharpstandard copied to clipboard

Unicode escape sequence in identifiers

Open logeshkumars0604 opened this issue 1 year ago • 0 comments

Type of issue

Typo

Description

In the production fragment,

fragment Underscore_Character
    : '_'           // underscore
    | '\\u005' [fF] // Unicode_Escape_Sequence for underscore
    ;

shouldn't we include '\U000005' [fF] as well?

Source: C# > Language Reference> Language Specification > Lexical Structure > Identifiers

Page URL

https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/lexical-structure

Content source URL

https://github.com/dotnet/csharpstandard/blob/draft-v8/standard/lexical-structure.md

logeshkumars0604 avatar May 10 '24 02:05 logeshkumars0604