Skip to content

Async keyword not highlighted on local functions #25036

@Neme12

Description

@Neme12

Repro:

using System.Threading.Tasks;

class C
{
    async Task M()
    {
        async Task F()
        {
            await Task.Yield();
        }

        await F();
    }
}

Click on first async - both async and corresponding await is highlighted.
Click on second async - nothing is highlighted.

Metadata

Metadata

Assignees

Labels

Area-IDEResolution-FixedThe bug has been fixed and/or the requested behavior has been implemented

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions