Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
siwatanejo
· 6y ago · 0 comments
> The compiler does warn when you discard a value
The C# compiler doesn't; the F# compiler does.
Comments
[–]
McNerdius
6y ago
While not a warning by default, it does inform (IDE0058) in the editor. placing dotnet_diagnostic.IDE0058.severity = warning in your .editorconfig will promote it.
[–]
merb
6y ago
and with warnings as error its also forbidden.