Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Textmate] readonly getter and setter in struct #314

Open
sharpchen opened this issue Dec 30, 2023 · 0 comments
Open

[Textmate] readonly getter and setter in struct #314

sharpchen opened this issue Dec 30, 2023 · 0 comments

Comments

@sharpchen
Copy link

sharpchen commented Dec 30, 2023

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

struct M
{
    private int counter;
    public int Counter
    {
        get => counter;
        readonly set { }
    }
    public int this[int i]
    {
        readonly get => counter;
        set { }
    }
    public readonly void Method()
    {
        counter++;
    }
}

image

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

@sharpchen sharpchen changed the title [Textmate] readonly getter in struct [Textmate] readonly getter and setter in struct Dec 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant