PKHeX/PKHeX.WinForms
Kurt 583a036d65 Remove eager check of Current
The SaveUtil's ienumerable can be of different collection types, and the result is usually is a collection with >0 count
I think I was initially confused (years and years ago) about "MoveNext" if it discarded the first result.

Remove the eager check of the enumerator's current value because it hasn't yet been moved from the uninitialized state.

Closes #3871

Dispose of the enumerator on the early empty return, since the later async code will dispose once all have been iterated.
2023-04-26 21:41:38 -07:00
..
Controls Update Designer automatic code generation 2023-04-21 23:29:50 -05:00
MainWindow Update Designer automatic code generation 2023-04-21 23:29:50 -05:00
Misc Update Designer automatic code generation 2023-04-21 23:29:50 -05:00
Properties Use placeholder sprite for not-yet-affixed 2023-04-01 17:46:10 -07:00
Resources Final adjustments to SV Trainer Editor, update localization files 2023-04-16 18:16:41 -05:00
Subforms Remove eager check of Current 2023-04-26 21:41:38 -07:00
Util Add wc5full compatibility (#3854) 2023-04-04 07:19:54 -07:00
PKHeX.WinForms.csproj More fixes 2023-01-22 11:43:13 -08:00
Program.cs Use generated json serializer 2023-01-23 23:31:41 -08:00