Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any VS C# way to list all `throw new NotImplementedException()` methods?

Is there any lazy way to list all methods that only have throw new NotImplementedException(); in their body... that is built-in Visual Studio C#? Something similar to the (Todo) Task List Pane but that would only list such empty throwing place-holder methods that are clearly pending/awaiting implementation?

It would be helpful for implementing interfaces and easily keeping track of things.

like image 872
CodeAngry Avatar asked Dec 08 '22 02:12

CodeAngry


2 Answers

Have you tried CTRL+SHIFT+F and searching *.cs files for NotImplementedException?

like image 169
Brandon Avatar answered Dec 10 '22 16:12

Brandon


Go to the Object Browser (Ctrl+Alt+J).
Find the NotImplementedException class.
Right-click it and select Find all references.

like image 31
GSerg Avatar answered Dec 10 '22 15:12

GSerg