roslyn icon indicating copy to clipboard operation
roslyn copied to clipboard

Partial doesn't trigger soft select in override completion

Open 333fred opened this issue 3 years ago • 0 comments

Version Used: a51b65c86bb0f42a79c47798c10ad75d5c343f92

Steps to Reproduce:

class Base
{
    public virtual void M() {}
}

class Derived : Base
{
    public override $$
}

At the $$, type partial and hit space.

Expected Behavior:

partial is left alone. I would also expect partial to be shown in the completion window, but afaict no keywords are shown in the completion window here. A fix here will also affect required, as that suffers from the same problem.

Actual Behavior:

partial is replaced by whatever is selected in the completion window.

333fred avatar May 20 '22 22:05 333fred