コード例 #1
0
ファイル: ExceptionMethods.cs プロジェクト: sramos30/FlingOS
 public static void Throw_IndexOutOfRangeException()
 {
     HaltReason = "Index out of range exception.";
     FOS_System.Exception ex = new FOS_System.Exceptions.IndexOutOfRangeException(0, 0);
     ex.InstructionAddress = *((uint *)BasePointer + 1);
     Throw(ex);
 }
コード例 #2
0
ファイル: ExceptionMethods.cs プロジェクト: kztao/FlingOS
 public static void Throw_IndexOutOfRangeException()
 {
     HaltReason = "Index out of range exception.";
     FOS_System.Exception ex = new FOS_System.Exceptions.IndexOutOfRangeException(0, 0);
     ex.InstructionAddress = *((uint*)BasePointer + 1);
     Throw(ex);
 }