internal static void TraceFailFast(string message, System.ServiceModel.Diagnostics.EventLogger logger) { try { if (logger != null) { string str = null; try { str = new StackTrace().ToString(); } catch (Exception exception) { str = exception.Message; } finally { logger.LogEvent(TraceEventType.Critical, EventLogCategory.FailFast, (System.ServiceModel.Diagnostics.EventLogEventId)(-1073676186), new string[] { message, str }); } } } catch (Exception exception2) { if (logger != null) { logger.LogEvent(TraceEventType.Critical, EventLogCategory.FailFast, (System.ServiceModel.Diagnostics.EventLogEventId)(-1073676185), new string[] { exception2.ToString() }); } throw; } }