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