We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When defining a nullable property in the @code block in a razor file the syntax highlighting does not work correctly.
Details copied from: https://github.com/dotnet/aspnetcore/issues/24791
dotnet new blazorserver
WeatherForecast
string? test;
string? test1 {get; set;}
It does not seem to make any difference if the setting on the project file is enabled or not.
The text was updated successfully, but these errors were encountered:
This was fixed by dotnet/razor#7019
Feed free to close :)
Sorry, something went wrong.
No branches or pull requests
When defining a nullable property in the @code block in a razor file the syntax highlighting does not work correctly.
Details copied from: https://github.com/dotnet/aspnetcore/issues/24791
Reproduce
dotnet new blazorserver
WeatherForecast
as a class/typeAdd nullable field
string? test;
before theWeatherForecast
declarationWeatherForecast
is still correctAdd nullable property
string? test1 {get; set;}
before theWeatherForecast
declarationWeatherForecast
now reverts to generic textIt does not seem to make any difference if the setting on the project file is enabled or not.
The text was updated successfully, but these errors were encountered: