示例#1
0
文件: Fx.cs 项目: dox0/DotNet471RS3
 public static Exception AssertAndThrowFatal(string description)
 {
     Fx.Assert(description);
     TraceCore.ShipAssertExceptionMessage(Trace, description);
     throw new FatalInternalException(description);
 }
示例#2
0
 public static Exception AssertAndThrow(string description)
 {
     TraceCore.ShipAssertExceptionMessage(Fx.Trace, description);
     throw new Fx.InternalException(description);
 }