dotnet / csharp-tmLanguage

Syntax grammar used for C# colorization
MIT License
69 stars 34 forks source link

Allow more constant patterns #279

Closed wise0704 closed 1 year ago

wise0704 commented 1 year ago

default(T) and nameof(expr) are valid constants

typeof(T) is not a constant, but highlighting should still be supported as it's a valid expression