Skip to content

Typeparam whitespace issue in .net6 preview 4. #33404

@rakeshkgsg

Description

@rakeshkgsg

Not sure if this is a design issue. Came across this when migrating files to the new .net6 preview.

In .net 5, we can do this in a blazor page

But in .net6 preview 4 the above throws an error stating that it expects a whitespace after the typeparam which is a bit misleading as we simply need to remove the semicolon. It also.complains that dispose is not implemented. I had to change the code as such by removing the semicolons.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions