Skip to content

Syntax highlighting is incorrect following a lambda containing throw keyword #90

@natemcmaster

Description

@natemcmaster

Details

VS Code 1.18.1
C# Extension 1.13.1
Dark+ color theme

Repro

image

public class Example
{
    [Fact]
    public void Method1()
    {
        app.Command(_ => throw new InvalidOperationException());
    }

    [Fact]
    public void Method2()
    {
        app.Command()
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions