Skip to content

'Go to all' can't find local functions #39083

@ghost

Description

Version Used: VS 16.3

Steps to Reproduce:

  1. Ctrl+,
  2. Search for LocalFunction
using System;

namespace ConsoleApp9
{
    class Program
    {
        static void Main(string[] args)
        {
            static void LocalFunction() { }

            Console.WriteLine("Hello World!");
        }
    }
}

Expected Behavior:

The local function is found

Actual Behavior:

The local function is not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Complete

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions