Skip to content

Highlight throw expression #69

@DustinCampbell

Description

@DustinCampbell

From @andy-hanson on June 3, 2017 0:20

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

Copied from original issue: dotnet/vscode-csharp#1540

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions