Skip to content

F1 service redirects to binary operator for > in type argument list (generic method invocation) #60154

@Youssef1313

Description

@Youssef1313

Version Used:

main

Steps to Reproduce:

        [Fact, Trait(Traits.Feature, Traits.Features.F1Help)]
        public async Task TestGenericAngle2()
        {
            await TestAsync(
@"class Program
{
    static void generic<T>(T t)
    {
        generic<int[|>|](0);
    }
}", "Program.generic``1");
        }

Note: The above test will fail because actual is >_CSharpKeyword. This doesn't align with TestGenericAngle which expects:

"Program.generic``1"

IMO both results are not good. We should redirect to https://docs.microsoft.com/en-us/dotnet/csharp/fundamentals/types/generics. The page doesn't yet have an F1 keyword.

Metadata

Metadata

Assignees

No one assigned

    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