There should be option to display local functions in Outline: https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/local-functions