Skip to content

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

@amir734jj

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

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