csharp-tmLanguage icon indicating copy to clipboard operation
csharp-tmLanguage copied to clipboard

`typevar` keyword

Open sharpchen opened this issue 10 months ago • 0 comments

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.88.1 What color theme are you using? dark-plus

Repro

[AttributeUsage(AttributeTargets.All)]
class MyAttributeAttribute : Attribute { }

class Foo<[typevar: MyAttribute] T, [typevar: MyAttribute] U>
{
    public static void F<[typevar: MyAttribute] X, [typevar: MyAttribute] Y>() { }
}

code

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

sharpchen avatar Apr 13 '24 18:04 sharpchen