Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# - Missing keywords #96

Open
makolyte opened this issue Mar 4, 2022 · 0 comments
Open

C# - Missing keywords #96

makolyte opened this issue Mar 4, 2022 · 0 comments
Labels
future release upstream An issue caused by highlight.js' logic or source files

Comments

@makolyte
Copy link

makolyte commented Mar 4, 2022

I noticed some missing keywords from the latest versions of C#:

  • record

Example:
public record Movie(string Title);

  • with

Example:
var m = a with { Name = "Test"}

These were new keywords added in .NET 5 / C# 9. I'm kinda guessing there might be other missing keywords from the latest versions. I haven't noticed any, just these two.

For reference: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/

@allejo allejo added upstream An issue caused by highlight.js' logic or source files and removed enhancement labels Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future release upstream An issue caused by highlight.js' logic or source files
Projects
None yet
Development

No branches or pull requests

2 participants