Skip to content

Literal empty arrays [] in .cshtml file are not supported and being reported as syntax error #555

Description

@amir734jj

Describe the bug
Literal empty arrays [] in .cshtml file are not supported and being reported as syntax error

To Reproduce
Just use [] in cshtml

Expected behavior
It should be supported, I think. Its a valid csharp code

Information (please complete the following information):
Linux, .net8.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions