David Roberts
- Total activity 87
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 32
-
David Roberts created a post, Converting Tuple to Class in method return values and other places
I often will create a class that returns a small tuple, maybe (IEnumerable<Data> Rows, int TotalRows)and I find this OKBut then after a while I might want to extend it a bit, eg (IEnumerable<Data> ... -
David Roberts created a post, Ability to combine context actions would be highly useful
when adding constructor parameters for DI, it requires 2 steps using R#, regardless of how I do it.if, in a method, I write: _someDependencyThatIsntYetInjected.Then I can use context action “Crea... -
-
-
David Roberts commented, -
David Roberts created a post, Updated to latest 2024.1.2 and now not all unit tests being found
379 tests are showing in Vs2022's Test Explorerbut only 342 in R#'s Unit Test Explorerthis was working fine 1 hour ago before I upgradedI have done a full rebuild, refreshed the list, restarted VS2022 -
David Roberts created a post, Extract method control flow - option to flip boolean return value meaning
the extract method case where control flow is affected is brilliant and incredibly useful.Except that, in some cases, such as when something positive is being done, I want it to return false if it ... -
-
David Roberts created a post, Getting lots of Uncategorized unit tests - but we do use custom Attributes!
Sometimes some (lots) unit tests get stuck as Uncategorized and rebuilding etc doesnt move them into their correct category. we do use a custom atrtribute to assign categories, eg: Snippet [TestMet... -
David Roberts created a post, "Find Symbols External to Scope" doesn't clearly show where the reference is made from
When I use "Find Symbols External to Scope" it shows all the symbols external to the specified scope, and shows the code where they are used (as well as a line number and column number), but it doe...