dotnet / csharp-tmLanguage

Syntax grammar used for C# colorization
MIT License
69 stars 34 forks source link

[Textmate] `abstract` broken with `interface`? #307

Closed sharpchen closed 10 months ago

sharpchen commented 10 months ago

Details

What editor are you seeing the problem in? (e.g. Atom, Visual Studio Code, etc.) vscode What version of the editor are you using? 1.85.1 What color theme are you using? dark plus

Repro

public interface IAdditionSubtraction<T> where T : IAdditionSubtraction<T>
{
    public abstract static T operator -(T left, T right);
    abstract static T operator +(T left, T right);
    public abstract void M();
    void N();
}

image

If it were a abstract class, color appears.

image

Please provide a code example and (optionally) a screenshot demonstrating the problem.