130 references to TraceCore
System.ServiceModel.Internals (130)
System\Runtime\ActionItem.cs (4)
260
if (
TraceCore
.ActionItemScheduledIsEnabled(Fx.Trace))
262
TraceCore
.ActionItemScheduled(Fx.Trace, this.eventTraceActivity);
313
if (
TraceCore
.ActionItemCallbackInvokedIsEnabled(Fx.Trace))
315
TraceCore
.ActionItemCallbackInvoked(Fx.Trace, this.eventTraceActivity);
System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (19)
617
if (
TraceCore
.AppDomainUnloadIsEnabled(this))
619
TraceCore
.AppDomainUnload(this, AppDomain.CurrentDomain.FriendlyName,
664
return
TraceCore
.TraceCodeEventLogCriticalIsEnabled(this)
665
||
TraceCore
.TraceCodeEventLogVerboseIsEnabled(this)
666
||
TraceCore
.TraceCodeEventLogInfoIsEnabled(this)
667
||
TraceCore
.TraceCodeEventLogWarningIsEnabled(this)
668
||
TraceCore
.TraceCodeEventLogErrorIsEnabled(this);
676
if (
TraceCore
.TraceCodeEventLogCriticalIsEnabled(this))
678
TraceCore
.TraceCodeEventLogCritical(this, traceRecord);
683
if (
TraceCore
.TraceCodeEventLogVerboseIsEnabled(this))
685
TraceCore
.TraceCodeEventLogVerbose(this, traceRecord);
690
if (
TraceCore
.TraceCodeEventLogInfoIsEnabled(this))
692
TraceCore
.TraceCodeEventLogInfo(this, traceRecord);
697
if (
TraceCore
.TraceCodeEventLogWarningIsEnabled(this))
699
TraceCore
.TraceCodeEventLogWarning(this, traceRecord);
704
if (
TraceCore
.TraceCodeEventLogErrorIsEnabled(this))
706
TraceCore
.TraceCodeEventLogError(this, traceRecord);
714
if (
TraceCore
.UnhandledExceptionIsEnabled(this))
716
TraceCore
.UnhandledException(this, exception != null ? exception.ToString() : string.Empty, exception);
System\Runtime\ExceptionTrace.cs (19)
35
TraceCore
.HandledException(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
41
TraceCore
.HandledExceptionWarning(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
212
TraceCore
.UnhandledException(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
220
if (
TraceCore
.HandledExceptionErrorIsEnabled(this.diagnosticTrace))
222
TraceCore
.HandledExceptionError(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
226
if (
TraceCore
.HandledExceptionWarningIsEnabled(this.diagnosticTrace))
228
TraceCore
.HandledExceptionWarning(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
232
if (
TraceCore
.HandledExceptionVerboseIsEnabled(this.diagnosticTrace))
234
TraceCore
.HandledExceptionVerbose(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
238
if (
TraceCore
.HandledExceptionIsEnabled(this.diagnosticTrace))
240
TraceCore
.HandledException(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
252
if (
TraceCore
.ThrowingEtwExceptionIsEnabled(this.diagnosticTrace))
254
TraceCore
.ThrowingEtwException(this.diagnosticTrace, this.eventSourceName, exception != null ? exception.ToString() : string.Empty, exception);
258
if (
TraceCore
.EtwUnhandledExceptionIsEnabled(this.diagnosticTrace))
260
TraceCore
.EtwUnhandledException(this.diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
264
if (
TraceCore
.ThrowingEtwExceptionVerboseIsEnabled(this.diagnosticTrace))
266
TraceCore
.ThrowingEtwExceptionVerbose(this.diagnosticTrace, this.eventSourceName, exception != null ? exception.ToString() : string.Empty, exception);
285
if (
TraceCore
.ThrowingExceptionIsEnabled(this.diagnosticTrace))
287
TraceCore
.ThrowingException(this.diagnosticTrace, eventSource, exception != null ? exception.ToString() : string.Empty, exception);
System\Runtime\Fx.cs (4)
142
TraceCore
.ShipAssertExceptionMessage(Trace, description);
158
TraceCore
.ShipAssertExceptionMessage(Trace, description);
538
if (
TraceCore
.ActionItemCallbackInvokedIsEnabled(trace) ||
539
TraceCore
.ActionItemScheduledIsEnabled(trace))
System\Runtime\InternalBufferManager.cs (6)
121
if (
TraceCore
.BufferPoolChangeQuotaIsEnabled(Fx.Trace))
123
TraceCore
.BufferPoolChangeQuota(Fx.Trace, bufferPool.BufferSize, delta);
279
if (
TraceCore
.BufferPoolAllocationIsEnabled(Fx.Trace))
281
TraceCore
.BufferPoolAllocation(Fx.Trace, bufferPool.BufferSize);
289
if (
TraceCore
.BufferPoolAllocationIsEnabled(Fx.Trace))
291
TraceCore
.BufferPoolAllocation(Fx.Trace, bufferSize);
TraceCore.Designer.cs (78)
42
resourceManager = new System.Resources.ResourceManager("System.Runtime.TraceCore", typeof(
TraceCore
).Assembly);
68
return (trace.ShouldTrace(TraceEventLevel.Informational) ||
TraceCore
.IsEtwEventEnabled(trace, 0));
82
if (
TraceCore
.IsEtwEventEnabled(trace, 0))
84
TraceCore
.WriteEtwEvent(trace, 0, null, appdomainName, processName, processId, payload.AppDomainFriendlyName);
89
TraceCore
.WriteTraceSource(trace, 0, description, payload);
100
return (trace.ShouldTrace(TraceEventLevel.Informational) ||
TraceCore
.IsEtwEventEnabled(trace, 1));
113
if (
TraceCore
.IsEtwEventEnabled(trace, 1))
115
TraceCore
.WriteEtwEvent(trace, 1, null, param0, payload.SerializedException, payload.AppDomainFriendlyName);
120
TraceCore
.WriteTraceSource(trace, 1, description, payload);
131
return (trace.ShouldTrace(TraceEventLevel.Error) ||
TraceCore
.IsEtwEventEnabled(trace, 2));
143
if (
TraceCore
.IsEtwEventEnabled(trace, 2))
145
TraceCore
.WriteEtwEvent(trace, 2, null, param0, payload.AppDomainFriendlyName);
150
TraceCore
.WriteTraceSource(trace, 2, description, payload);
161
return (trace.ShouldTrace(TraceEventLevel.Warning) ||
TraceCore
.IsEtwEventEnabled(trace, 3));
175
if (
TraceCore
.IsEtwEventEnabled(trace, 3))
177
TraceCore
.WriteEtwEvent(trace, 3, null, param0, param1, payload.SerializedException, payload.AppDomainFriendlyName);
182
TraceCore
.WriteTraceSource(trace, 3, description, payload);
193
return (trace.ShouldTrace(TraceEventLevel.Critical) ||
TraceCore
.IsEtwEventEnabled(trace, 4));
206
if (
TraceCore
.IsEtwEventEnabled(trace, 4))
208
TraceCore
.WriteEtwEvent(trace, 4, null, param0, payload.SerializedException, payload.AppDomainFriendlyName);
213
TraceCore
.WriteTraceSource(trace, 4, description, payload);
224
return (trace.ShouldTrace(TraceEventLevel.Critical) ||
TraceCore
.IsEtwEventEnabled(trace, 5));
236
if (
TraceCore
.IsEtwEventEnabled(trace, 5))
238
TraceCore
.WriteEtwEvent(trace, 5, null, payload.ExtendedData, payload.AppDomainFriendlyName);
243
TraceCore
.WriteTraceSource(trace, 5, description, payload);
254
return (trace.ShouldTrace(TraceEventLevel.Error) ||
TraceCore
.IsEtwEventEnabled(trace, 6));
266
if (
TraceCore
.IsEtwEventEnabled(trace, 6))
268
TraceCore
.WriteEtwEvent(trace, 6, null, payload.ExtendedData, payload.AppDomainFriendlyName);
273
TraceCore
.WriteTraceSource(trace, 6, description, payload);
284
return (trace.ShouldTrace(TraceEventLevel.Informational) ||
TraceCore
.IsEtwEventEnabled(trace, 7));
296
if (
TraceCore
.IsEtwEventEnabled(trace, 7))
298
TraceCore
.WriteEtwEvent(trace, 7, null, payload.ExtendedData, payload.AppDomainFriendlyName);
303
TraceCore
.WriteTraceSource(trace, 7, description, payload);
314
return (trace.ShouldTrace(TraceEventLevel.Verbose) ||
TraceCore
.IsEtwEventEnabled(trace, 8));
326
if (
TraceCore
.IsEtwEventEnabled(trace, 8))
328
TraceCore
.WriteEtwEvent(trace, 8, null, payload.ExtendedData, payload.AppDomainFriendlyName);
333
TraceCore
.WriteTraceSource(trace, 8, description, payload);
344
return (trace.ShouldTrace(TraceEventLevel.Warning) ||
TraceCore
.IsEtwEventEnabled(trace, 9));
356
if (
TraceCore
.IsEtwEventEnabled(trace, 9))
358
TraceCore
.WriteEtwEvent(trace, 9, null, payload.ExtendedData, payload.AppDomainFriendlyName);
363
TraceCore
.WriteTraceSource(trace, 9, description, payload);
374
return (trace.ShouldTrace(TraceEventLevel.Warning) ||
TraceCore
.IsEtwEventEnabled(trace, 10));
387
if (
TraceCore
.IsEtwEventEnabled(trace, 10))
389
TraceCore
.WriteEtwEvent(trace, 10, null, param0, payload.SerializedException, payload.AppDomainFriendlyName);
394
TraceCore
.WriteTraceSource(trace, 10, description, payload);
405
return
TraceCore
.IsEtwEventEnabled(trace, 11);
417
if (
TraceCore
.IsEtwEventEnabled(trace, 11))
419
TraceCore
.WriteEtwEvent(trace, 11, null, Size, payload.AppDomainFriendlyName);
430
return
TraceCore
.IsEtwEventEnabled(trace, 12);
443
if (
TraceCore
.IsEtwEventEnabled(trace, 12))
445
TraceCore
.WriteEtwEvent(trace, 12, null, PoolSize, Delta, payload.AppDomainFriendlyName);
456
return
TraceCore
.IsEtwEventEnabled(trace, 13);
468
if (
TraceCore
.IsEtwEventEnabled(trace, 13))
470
TraceCore
.WriteEtwEvent(trace, 13, eventTraceActivity, payload.AppDomainFriendlyName);
481
return
TraceCore
.IsEtwEventEnabled(trace, 14);
493
if (
TraceCore
.IsEtwEventEnabled(trace, 14))
495
TraceCore
.WriteEtwEvent(trace, 14, eventTraceActivity, payload.AppDomainFriendlyName);
506
return (trace.ShouldTrace(TraceEventLevel.Error) ||
TraceCore
.IsEtwEventEnabled(trace, 15));
519
if (
TraceCore
.IsEtwEventEnabled(trace, 15))
521
TraceCore
.WriteEtwEvent(trace, 15, null, param0, payload.SerializedException, payload.AppDomainFriendlyName);
526
TraceCore
.WriteTraceSource(trace, 15, description, payload);
537
return (trace.ShouldTrace(TraceEventLevel.Verbose) ||
TraceCore
.IsEtwEventEnabled(trace, 16));
550
if (
TraceCore
.IsEtwEventEnabled(trace, 16))
552
TraceCore
.WriteEtwEvent(trace, 16, null, param0, payload.SerializedException, payload.AppDomainFriendlyName);
557
TraceCore
.WriteTraceSource(trace, 16, description, payload);
568
return
TraceCore
.IsEtwEventEnabled(trace, 17);
581
if (
TraceCore
.IsEtwEventEnabled(trace, 17))
583
TraceCore
.WriteEtwEvent(trace, 17, null, param0, payload.SerializedException, payload.AppDomainFriendlyName);
594
return
TraceCore
.IsEtwEventEnabled(trace, 18);
608
if (
TraceCore
.IsEtwEventEnabled(trace, 18))
610
TraceCore
.WriteEtwEvent(trace, 18, null, param0, param1, payload.SerializedException, payload.AppDomainFriendlyName);
621
return
TraceCore
.IsEtwEventEnabled(trace, 19);
635
if (
TraceCore
.IsEtwEventEnabled(trace, 19))
637
TraceCore
.WriteEtwEvent(trace, 19, null, param0, param1, payload.SerializedException, payload.AppDomainFriendlyName);
648
return (trace.ShouldTrace(TraceEventLevel.Verbose) ||
TraceCore
.IsEtwEventEnabled(trace, 20));
662
if (
TraceCore
.IsEtwEventEnabled(trace, 20))
664
TraceCore
.WriteEtwEvent(trace, 20, null, param0, param1, payload.SerializedException, payload.AppDomainFriendlyName);
669
TraceCore
.WriteTraceSource(trace, 20, description, payload);