コード例 #1
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="targetAddress">The address being accessed.</param>
 /// <param name="width">The width of the operation, in bytes.</param>
 /// <param name="value">The value being written.</param>
 public MemoryError(MemoryErrorCode code, uint pc, uint targetAddress, byte width, ulong value)
     : this(code, pc, null)
 {
     this.TargetAddress = targetAddress;
     this.Width         = width;
     this.Value         = value;
 }
コード例 #2
0
ファイル: MemoryError.cs プロジェクト: BradFuller/pspplayer
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="message">An optional message describing the error.</param>
 public MemoryError( MemoryErrorCode code, uint pc, string message )
     : base(message, pc)
 {
     this.Code = code;
 }
コード例 #3
0
ファイル: MemoryError.cs プロジェクト: BradFuller/pspplayer
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 public MemoryError( MemoryErrorCode code, uint pc )
     : this(code, pc, null)
 {
 }
コード例 #4
0
ファイル: MemoryError.cs プロジェクト: BradFuller/pspplayer
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="targetAddress">The address being accessed.</param>
 /// <param name="width">The width of the operation, in bytes.</param>
 /// <param name="value">The value being written.</param>
 public MemoryError( MemoryErrorCode code, uint pc, uint targetAddress, byte width, ulong value )
     : this(code, pc, null)
 {
     this.TargetAddress = targetAddress;
     this.Width = width;
     this.Value = value;
 }
コード例 #5
0
ファイル: MemoryError.cs プロジェクト: BradFuller/pspplayer
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="targetAddress">The address being accessed.</param>
 /// <param name="width">The width of the operation, in bytes.</param>
 public MemoryError( MemoryErrorCode code, uint pc, uint targetAddress, byte width )
     : this(code, pc, null)
 {
     this.TargetAddress = targetAddress;
     this.Width = width;
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="targetAddress">The address being accessed.</param>
 /// <param name="width">The width of the operation, in bytes.</param>
 public MemoryError(MemoryErrorCode code, uint pc, uint targetAddress, byte width)
     : this(code, pc, null)
 {
     this.TargetAddress = targetAddress;
     this.Width         = width;
 }
コード例 #7
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 /// <param name="message">An optional message describing the error.</param>
 public MemoryError(MemoryErrorCode code, uint pc, string message)
     : base(message, pc)
 {
     this.Code = code;
 }
コード例 #8
0
 /// <summary>
 /// Initializes a new <see cref="MemoryError"/> instance with the given parameters.
 /// </summary>
 /// <param name="code">The error code.</param>
 /// <param name="pc">The current program counter.</param>
 public MemoryError(MemoryErrorCode code, uint pc)
     : this(code, pc, null)
 {
 }