ReSharper 2017.2 Help

Code Inspection: Function never returns

This message is issued if a method contains an infinite loop and does not return control. Although infinite loops are useful for some tasks, in application software they generally cause errors. If you do not need an endless loop, consider rewriting the code.

Last modified: 20 October 2017

See Also