public override void Check(CodeGeneratorContext context) { if (__Panels.Count == 0) { throw new CompilationCheckException("Joystick info is invalid, no data is present", CompilationCheckException.CompileIteration.PreCheck); } __CurrentConfig.Check(); }