String interpolation with nested quotes breaks Razor blocks in Blazor WebAssembly #8760
Closed
1 task done
Labels
Milestone
Is there an existing issue for this?
Describe the bug
I write SQL in Blazor WebAssembly, Some filter are dynamic, for example

where TK004=INVLA.LA001 and TK018=INVLA.LA016 and TK017=INVLA.LA009 {(SelectedCostDocumentTypes != null && SelectedCostDocumentTypes.Count() > 0 ? $@"and TK001 in ({String.Join(",", from item in SelectedCostDocumentTypes select $"'{item}'")})" : "")}
but vs2022 prompt RZ1000
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version
.net6.0
Anything else?
No response
The text was updated successfully, but these errors were encountered: