15 ms·
C# already by default warns on discarded return values.
by goto11 6y ago
C# already by default warns on discarded return values.
- algorithmsRcool 6y agoNo it does not, unless the discarded value is a Task in an async method. (or sometimes an IDisposable depending on what analyzers you have running)