35 references to EventSourceSettings
Microsoft.AspNetCore.Hosting (2)
Internal\HostingEventSource.cs (2)
23: base("Microsoft.AspNetCore.Hosting", EventSourceSettings.EtwManifestEventFormat) 29: base(eventSourceName, EventSourceSettings.EtwManifestEventFormat)
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionsEventSource.cs (1)
31: base(eventSourceName, EventSourceSettings.EtwManifestEventFormat)
Microsoft.Extensions.DependencyInjection (1)
DependencyInjectionEventSource.cs (1)
33private DependencyInjectionEventSource() : base(EventSourceSettings.EtwSelfDescribingEventFormat)
Microsoft.Extensions.Logging.EventSource (1)
LoggingEventSource.cs (1)
141private LoggingEventSource() : base(EventSourceSettings.EtwSelfDescribingEventFormat)
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
212[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventSourceSettings))]
netstandard (1)
netstandard.cs (1)
734[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventSourceSettings))]
PresentationCore (2)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\Telemetry\Managed\TelemetryEventSource.cs (2)
158internal TelemetryEventSource(string eventSourceName) : base(eventSourceName, EventSourceSettings.EtwSelfDescribingEventFormat, telemetryTraits) 168protected TelemetryEventSource() : base(EventSourceSettings.EtwSelfDescribingEventFormat, telemetryTraits)
PresentationFramework (2)
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\Telemetry\Managed\TelemetryEventSource.cs (2)
158internal TelemetryEventSource(string eventSourceName) : base(eventSourceName, EventSourceSettings.EtwSelfDescribingEventFormat, telemetryTraits) 168protected TelemetryEventSource() : base(EventSourceSettings.EtwSelfDescribingEventFormat, telemetryTraits)
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\DiagnosticSourceEventSource.cs (1)
410private DiagnosticSourceEventSource() : base(DiagnosticSourceEventSourceName, EventSourceSettings.EtwSelfDescribingEventFormat)
System.Diagnostics.Tracing (1)
src\runtime\artifacts\obj\System.Diagnostics.Tracing\Release\net11.0\System.Diagnostics.Tracing.Forwards.cs (1)
25[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventSourceSettings))]
System.Private.CoreLib (22)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (19)
229private readonly EventSourceSettings m_config; // configuration information 347public EventSourceSettings Settings => m_config; 712: this(EventSourceSettings.EtwManifestEventFormat) 728: this(EventSourceSettings.EtwManifestEventFormat | (throwOnEventWriteErrors ? EventSourceSettings.ThrowOnEventWriteErrors : 0)) 734protected EventSource(EventSourceSettings settings) : this(settings, null) { } 745protected EventSource(EventSourceSettings settings, params string[]? traits) 1613: this(eventSourceName, eventSourceGuid, EventSourceSettings.EtwManifestEventFormat) 1634public EventSource(string eventSourceName, Guid eventSourceGuid, EventSourceSettings settings, string[]? traits = null) 3850private static EventSourceSettings ValidateSettings(EventSourceSettings settings) 3852const EventSourceSettings evtFormatMask = EventSourceSettings.EtwManifestEventFormat | 3853EventSourceSettings.EtwSelfDescribingEventFormat; 3861settings |= EventSourceSettings.EtwSelfDescribingEventFormat; 3865private bool ThrowOnEventWriteErrors => (m_config & EventSourceSettings.ThrowOnEventWriteErrors) != 0; 3871Debug.Assert(((m_config & EventSourceSettings.EtwManifestEventFormat) != 0) != 3872((m_config & EventSourceSettings.EtwSelfDescribingEventFormat) != 0)); 3873return (m_config & EventSourceSettings.EtwSelfDescribingEventFormat) != 0;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (3)
37: this(eventSourceName, EventSourceSettings.EtwSelfDescribingEventFormat) 51EventSourceSettings config) 70EventSourceSettings config,