Skip to content

AddOpen code fix doesn't offer full qualification anymore #15911

@psfinaki

Description

@psfinaki

This should actually offer two things:

  1. Add open directive (open System)
  2. Fully qualify the namespace (System.Console.WriteLine)

image

Now, this happens because the code fix only shows the first suggestion of all that it generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-LangService-CodeFixesCode fixes associated with diagnosticsBugImpact-Medium(Internal MS Team use only) Describes an issue with moderate impact on existing code.

    Type

    Projects

    Status

    New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions