Skip to content

Search for member doesn't support generic FQ Name #2522

@Ralf1108

Description

@Ralf1108

Is your feature request related to a problem? Please describe.
The search functionality doesn't work with generic type FQ Names like "IlSpyBugTest.ClassWithGenericType`1"

Describe the solution you'd like
When "IlSpyBugTest.ClassWithGenericType`1" is entered into the search term it should show the matching type

Additional context

Reproduce steps:

  1. Create assembly with a generic class:
namespace IlSpyBugTest
{
    class ClassWithGenericType<T>
    {
    }
}
  1. open assembly in ILSpy
  2. copy FQ Name from generic class
    grafik
  3. enter FQ Name into search box (Types and Members)
    grafik

No type shows up!

If the backtick is removed then the type is shown:
grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions