Handle some warnings for release build

Unused usings; just make PIDType stuff visible.
This commit is contained in:
Kurt 2021-08-06 09:41:39 -07:00
parent 56907ae002
commit 5ec2b12ae5
2 changed files with 1 additions and 4 deletions

View file

@ -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
}

View file

@ -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))