Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Maybe you are using Linq.
Which means in a certain subsequence it is possible that there will be no value returned.
Add some unittests to cover the different constellations -
@TylerDDevRant yeah this might possible case. The actual code (single line mentioned in post) needs to see to examine.
-
@TylerDDevRant would make sense but that’s not that. Nah, really, it was just a basic return.
-
@DodgerAkame
Now I am intrigued.
Would you mind to post your pseudo code with the displayed error message?
Visual Studio : Not all code paths return a value
Me : That method is only with a single line, and it's a return with the value. Don't fucking kidding me.
rant