Skip to content

Allow quotes in #: file-level directives #49367

@jjonescz

Description

@jjonescz

For example:

#:project "../lib"
#:package "Humanizer"@2.0
#:property Xyz = "abc "

We should preserve leading and trailing whitespace inside the quoted string.
Escaped values like \" should be supported per C# rules (we should use Roslyn lexer if possible).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-run-fileItems related to the "dotnet run <file>" effortuntriagedRequest triage from a team member

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions