Skip to content

Interface/enum declarations with no body break syntax highlighting. #329

Closed
@teo-tsirpanis

Description

@teo-tsirpanis

Consider the following snippet, which is legal since C# 12:

interface A;
class B;

The class keyword is not highlighted, which also happens if A is an enum. If A was a class or a struct, it does get highlighted.

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions