protected IExceptionWrapper[] GetInnerExceptions() { #if ZEROFORMATTER return InnerException == null ? null : ZeroFormatterSerializer.Deserialize<IExceptionWrapper[]>(InnerException); #endif #if NETSERIALIZER return InnerException == null ? null : ExceptionWrapperSerializer.Deserialize<IExceptionWrapper[]>(InnerException, 0); #endif }