1 write to EventSource
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
4931EventSource = eventSource;
33 references to EventSource
Http3SampleApp (2)
src\Shared\HttpClient\HttpEventSourceListener.cs (2)
48if (!IsHttpEventSource(eventData.EventSource)) 57_messageBuilder.Append(eventData.EventSource.Name);
InMemory.FunctionalTests (1)
EventSourceTests.cs (1)
489EventSource = eventWrittenEventArgs.EventSource;
Interop.FunctionalTests (2)
src\Shared\HttpClient\HttpEventSourceListener.cs (2)
48if (!IsHttpEventSource(eventData.EventSource)) 57_messageBuilder.Append(eventData.EventSource.Name);
InteropClient (2)
src\Shared\HttpClient\HttpEventSourceListener.cs (2)
48if (!IsHttpEventSource(eventData.EventSource)) 57_messageBuilder.Append(eventData.EventSource.Name);
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (4)
ConcurrencyLimiterEventSourceTests.cs (1)
40Assert.Same(eventSource, eventData.EventSource);
src\Shared\EventSource.Testing\TestCounterListener.cs (3)
48if (eventData.EventSource.Name == _eventSourceName && eventData.EventName == "EventCounters") 54_logger.LogDebug("Counter {CounterName} on event source {EventSourceName} has increment value {Value}.", counter, eventData.EventSource.Name, increment); 58_logger.LogDebug("Counter {CounterName} on event source {EventSourceName} has mean value {Value}.", counter, eventData.EventSource.Name, mean);
Microsoft.AspNetCore.Hosting.Tests (8)
Internal\HostingEventSourceTests.cs (5)
44Assert.Same(hostingEventSource, eventData.EventSource); 67Assert.Same(hostingEventSource, eventData.EventSource); 123Assert.Same(hostingEventSource, eventData.EventSource); 151Assert.Same(hostingEventSource, eventData.EventSource); 173Assert.Same(hostingEventSource, eventData.EventSource);
src\Shared\EventSource.Testing\TestCounterListener.cs (3)
48if (eventData.EventSource.Name == _eventSourceName && eventData.EventName == "EventCounters") 54_logger.LogDebug("Counter {CounterName} on event source {EventSourceName} has increment value {Value}.", counter, eventData.EventSource.Name, increment); 58_logger.LogDebug("Counter {CounterName} on event source {EventSourceName} has mean value {Value}.", counter, eventData.EventSource.Name, mean);
Microsoft.AspNetCore.Http.Connections.Tests (3)
Internal\HttpConnectionsEventSourceTests.cs (3)
45Assert.Same(httpConnectionsEventSource, eventData.EventSource); 72Assert.Same(httpConnectionsEventSource, eventData.EventSource); 99Assert.Same(httpConnectionsEventSource, eventData.EventSource);
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (2)
src\Shared\HttpClient\HttpEventSourceListener.cs (2)
48if (!IsHttpEventSource(eventData.EventSource)) 57_messageBuilder.Append(eventData.EventSource.Name);
Microsoft.AspNetCore.Tests (3)
WebApplicationTests.cs (2)
1636args.EventSource.Name == "Microsoft-Extensions-Logging" && 1656args.EventSource.Name == "Microsoft-Extensions-Logging" &&
WebHostTests.cs (1)
110args.EventSource.Name == "Microsoft-Extensions-Logging" &&
Microsoft.Extensions.Caching.Hybrid.Tests (1)
TestEventListener.cs (1)
61if (ReferenceEquals(eventData.EventSource, Source))
Microsoft.Extensions.Http.Diagnostics (1)
Latency\Internal\HttpRequestLatencyListener.cs (1)
81OnEventWritten(eventData.EventSource.Name, eventData.EventName);
MSBuild (1)
PerformanceLogEventListener.cs (1)
146s_builder.Append($"[{DateTime.UtcNow.ToString("o")}] Event={eventData.EventSource.Name}/{eventData.EventName} ProcessID={_processIDStr} ThreadID={System.Threading.Thread.CurrentThread.ManagedThreadId}\t ");
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (1)
4788private ref EventSource.EventMetadata Metadata => ref EventSource.m_eventData![EventId];
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\XplatEventLogger.cs (2)
171if (eventData.EventSource.GetType() == typeof(NativeRuntimeEventSource)) 197LogEventSource(eventData.EventId, eventData.EventName, eventData.EventSource.Name, payload);