Esempio n. 1
0
 public MyCustomError(@string Message, Abser Abser, MyError MyError, error error)
 {
     this.Message      = Message;
     this.Abser        = Abser;
     this.m_MyErrorRef = new Ref <MyError>(MyError);
     this.error        = error;
 }
 public MyCustomError(@string Message, Abser Abser, ref MyError MyError)
 {
     this.Message      = Message;
     this.Abser        = Abser;
     this.m_MyErrorRef = new Ref <MyError>(ref MyError);
 }
 public float64 Abs() => s_AbsByRef?.Invoke(ref this) ?? s_AbsByVal?.Invoke(this) ?? Abser?.Abs() ?? throw new PanicException(RuntimeErrorPanic.NilPointerDereference);