CommandLineUtils
CommandLineUtils copied to clipboard
Fix unknown command throws System.InvalidOperationException: Enumeration already finished
#541
Do not call enumerator.Current if enumerator.MoveNext has not been called or returns false.
Just to say thanks. Looking forward to this fix.
Thank you for already fixing this, I'd have submitted a PR now otherwise. 🙏
FYI: I've got a work-around that's working for my scenario.
https://github.com/natemcmaster/CommandLineUtils/issues/541#issuecomment-1915784431
I really need this fix :( . Can i do something to help?
I really need this fix :( . Can i do something to help?
Just fork the repo, fix it there, and include the source in your solution.
And try this workaround: https://github.com/natemcmaster/CommandLineUtils/issues/541#issuecomment-1915784431