mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Handle some warnings for release build
Unused usings; just make PIDType stuff visible.
This commit is contained in:
parent
56907ae002
commit
5ec2b12ae5
2 changed files with 1 additions and 4 deletions
|
@ -186,7 +186,6 @@ namespace PKHeX.Core
|
|||
#endregion
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
public static class PIDTypeExtensions
|
||||
{
|
||||
public static RNGType GetRNGType(this PIDType type) => type switch
|
||||
|
@ -207,5 +206,4 @@ namespace PKHeX.Core
|
|||
_ => false
|
||||
};
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
|
||||
namespace PKHeX.Core
|
||||
|
@ -317,7 +316,7 @@ namespace PKHeX.Core
|
|||
throw new ArgumentException($"Expected 1-6, got {value.Count}");
|
||||
#if DEBUG
|
||||
if (value[0].Species == 0)
|
||||
Debug.WriteLine($"Empty first slot, received {value.Count}.");
|
||||
System.Diagnostics.Debug.WriteLine($"Empty first slot, received {value.Count}.");
|
||||
#endif
|
||||
int ctr = 0;
|
||||
foreach (var exist in value.Where(pk => pk.Species != 0))
|
||||
|
|
Loading…
Add table
Reference in a new issue