Skip to content

Highlight throw expression #1540

Closed
Closed

Description

@andy-hanson

Environment data

dotnet --info output:

.NET Command Line Tools (1.0.4)

Product Information:
 Version:            1.0.4
 Commit SHA-1 hash:  af1e6684fd

Runtime Environment:
 OS Name:     manjaro
 OS Version:  
 OS Platform: Linux
 RID:         ubuntu.16.10-x64
 Base Path:   /opt/dotnet/sdk/1.0.4

VS Code version: 1.11.0-insider
C# Extension version: 1.9.0

Steps to reproduce

Type this code:

public static void A(string str) => throw new Exception(str);
public static void B(string str) { throw new Exception(str); }

Expected behavior

Highlights the throw keyword.

Actual behavior

shot

Activity

  1. DustinCampbell commented on Jun 3, 2017

    @DustinCampbell
    Member

    This issue was moved to dotnet/csharp-tmLanguage#69

  2. DustinCampbell commented on Jun 3, 2017

    @DustinCampbell
    Member

    Thanks for filing! I moved it to the csharp-tmLanguage repo, where the official C# TextMate grammar lives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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