diff --git a/Legality/Analysis.cs b/Legality/Analysis.cs index 5a84820fe..a956cf503 100644 --- a/Legality/Analysis.cs +++ b/Legality/Analysis.cs @@ -25,7 +25,7 @@ public LegalityAnalysis(PKM pk) { if (!(pk is PK6)) return; - pk6 = pk as PK6; + pk6 = (PK6) pk; try { updateRelearnLegality(); diff --git a/Program.cs b/Program.cs index 1fecfc3d7..ac985bb52 100644 --- a/Program.cs +++ b/Program.cs @@ -3,13 +3,13 @@ namespace PKHeX { - static class Program + internal static class Program { /// /// The main entry point for the application. /// [STAThread] - static void Main() + private static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false);