Skip to content

C# - Missing keywords #96

@makolyte

Description

@makolyte

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    future releaseupstreamAn issue caused by highlight.js' logic or source files

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions