Ejemplo n.º 1
0
 public static Exception AssertAndThrowFatal(string description)
 {
     Fx.Assert(description);
     TraceCore.ShipAssertExceptionMessage(Trace, description);
     throw new FatalInternalException(description);
 }
Ejemplo n.º 2
0
 public static Exception AssertAndThrow(string description)
 {
     TraceCore.ShipAssertExceptionMessage(Fx.Trace, description);
     throw new Fx.InternalException(description);
 }