JetBrains Rider 2022.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: 08 March 2021