4 ms·> The compiler does warn when you discard a value The C# compiler doesn't; the F# compiler does.by siwatanejo 6y ago> The compiler does warn when you discard a value The C# compiler doesn't; the F# compiler does.McNerdius 6y agoWhile 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 agoand with warnings as error its also forbidden.