Code Inspection: Local function never usedLast modified: 21 March 2024tipYou can suppress this inspection to ignore specific issues, change its severity level to make the issues less or more noticeable, or disable it altogether.JetBrains Rider suggests removing unused local functions to clear up the code. You can remove such a function with a quick-fix or write the code that uses it.Beforepublic int MyMethod(){ int Sum(int x, int y) { return x + y; } return 42;}Afterpublic int MyMethod(){ return 42;}