Skip to content

Comment containing the word "event" after property breaks the rest of the file #115

@michaelblyons

Description

@michaelblyons

Details

VS Code 1.23.0
C# for VS Code 1.14.0

Repro

public class Foo
{
    // The word "event" in the comment below breaks highlighting in the rest
    // of the file.  Adding or removing any characters in "event" such that
    // it no longer matches \bevent\b will restore highlighting.
    public string Bar { get; set; } // comment comment event comment
    public string Baz { get; set; }
}

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions