5 instantiations of EventWrittenEventArgs
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (3)
1435var eventCallbackArgs = new EventWrittenEventArgs(this, eventId, pActivityId, relatedActivityId); 2065var eventCallbackArgs = new EventWrittenEventArgs(this, eventId, pActivityId, childActivityID) 2318var eventCallbackArgs = new EventWrittenEventArgs(this, 0)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
69var eventCallbackArgs = new EventWrittenEventArgs(this, (int)eventID, &activityId, &childActivityId)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (1)
701var eventCallbackArgs = new EventWrittenEventArgs(this, -1, pActivityId, pChildActivityId)
71 references to EventWrittenEventArgs
Aspire.RabbitMQ.Client (6)
RabbitMQEventSourceLogForwarder.cs (6)
31private void LogEvent(EventWrittenEventArgs eventData) 74public EventWrittenEventArgs EventData { get; } 78public ErrorEventSourceEvent(EventWrittenEventArgs eventData) 132private readonly Action<EventWrittenEventArgs> _log; 135public RabbitMQEventSourceListener(Action<EventWrittenEventArgs> log, EventLevel level) 163protected sealed override void OnEventWritten(EventWrittenEventArgs eventData)
dotnet-dev-certs (1)
ReporterEventListener.cs (1)
21protected override void OnEventWritten(EventWrittenEventArgs eventData)
Http3SampleApp (1)
src\Shared\HttpClient\HttpEventSourceListener.cs (1)
44protected override void OnEventWritten(EventWrittenEventArgs eventData)
HttpStress (1)
Program.cs (1)
744protected override void OnEventWritten(EventWrittenEventArgs eventData)
Infrastructure.Common (6)
TestEventListener.cs (3)
18private Action<EventWrittenEventArgs> _eventWritten; 33public new Action<EventWrittenEventArgs> EventWritten 87protected override void OnEventWritten(EventWrittenEventArgs eventData)
xunit\WcfTestCase.cs (3)
51ConcurrentQueue<EventWrittenEventArgs> events = new ConcurrentQueue<EventWrittenEventArgs>(); 74foreach (var item in events)
InMemory.FunctionalTests (2)
EventSourceTests.cs (2)
451protected override void OnEventWritten(EventWrittenEventArgs eventData) 485public EventSnapshot(EventWrittenEventArgs eventWrittenEventArgs)
Interop.FunctionalTests (1)
src\Shared\HttpClient\HttpEventSourceListener.cs (1)
44protected override void OnEventWritten(EventWrittenEventArgs eventData)
InteropClient (1)
src\Shared\HttpClient\HttpEventSourceListener.cs (1)
44protected override void OnEventWritten(EventWrittenEventArgs eventData)
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (4)
ConcurrencyLimiterEventSourceTests.cs (1)
36var eventData = eventListener.EventData;
src\Shared\EventSource.Testing\TestCounterListener.cs (1)
45protected override void OnEventWritten(EventWrittenEventArgs eventData)
src\Shared\EventSource.Testing\TestEventListener.cs (2)
17public EventWrittenEventArgs EventData { get; private set; } 19protected override void OnEventWritten(EventWrittenEventArgs eventData)
Microsoft.AspNetCore.Hosting.Tests (8)
Internal\HostingEventSourceTests.cs (5)
39var eventData = eventListener.EventData; 62var eventData = eventListener.EventData; 118var eventData = eventListener.EventData; 147var eventData = eventListener.EventData; 169var eventData = eventListener.EventData;
src\Shared\EventSource.Testing\TestCounterListener.cs (1)
45protected override void OnEventWritten(EventWrittenEventArgs eventData)
src\Shared\EventSource.Testing\TestEventListener.cs (2)
17public EventWrittenEventArgs EventData { get; private set; } 19protected override void OnEventWritten(EventWrittenEventArgs eventData)
Microsoft.AspNetCore.Http.Connections.Tests (5)
Internal\HttpConnectionsEventSourceTests.cs (3)
40var eventData = eventListener.EventData; 67var eventData = eventListener.EventData; 94var eventData = eventListener.EventData;
src\Shared\EventSource.Testing\TestEventListener.cs (2)
17public EventWrittenEventArgs EventData { get; private set; } 19protected override void OnEventWritten(EventWrittenEventArgs eventData)
Microsoft.AspNetCore.InternalTesting (8)
Tracing\CollectingEventListener.cs (4)
13private readonly ConcurrentQueue<EventWrittenEventArgs> _events = new ConcurrentQueue<EventWrittenEventArgs>(); 40public IReadOnlyList<EventWrittenEventArgs> GetEventsWritten() => _events.ToArray(); 57protected override void OnEventWritten(EventWrittenEventArgs eventData)
Tracing\EventAssert.cs (3)
26public static void Collection(IEnumerable<EventWrittenEventArgs> events, params EventAssert[] asserts) 46private Action<EventWrittenEventArgs> CreateAsserter() => Execute; 48private void Execute(EventWrittenEventArgs evt)
Tracing\EventSourceTestBase.cs (1)
35protected IReadOnlyList<EventWrittenEventArgs> GetEvents() => _listener.GetEventsWritten();
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
src\Shared\HttpClient\HttpEventSourceListener.cs (1)
44protected override void OnEventWritten(EventWrittenEventArgs eventData)
Microsoft.AspNetCore.Tests (8)
WebApplicationTests.cs (4)
3047private ConcurrentQueue<EventWrittenEventArgs> _events = new ConcurrentQueue<EventWrittenEventArgs>(); 3049public IEnumerable<EventWrittenEventArgs> EventData => _events; 3059protected override void OnEventWritten(EventWrittenEventArgs eventData)
WebHostTests.cs (4)
133private ConcurrentQueue<EventWrittenEventArgs> _events = new ConcurrentQueue<EventWrittenEventArgs>(); 135public IEnumerable<EventWrittenEventArgs> EventData => _events; 145protected override void OnEventWritten(EventWrittenEventArgs eventData)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
TestEventListener.cs (1)
59protected override void OnEventWritten(EventWrittenEventArgs eventData)
Microsoft.Extensions.Http.Diagnostics (1)
Latency\Internal\HttpRequestLatencyListener.cs (1)
71protected override void OnEventWritten(EventWrittenEventArgs eventData)
Microsoft.Extensions.Telemetry.Tests (2)
Http\TestEventListener.cs (2)
15public EventWrittenEventArgs? LastEvent { get; private set; } 17protected override void OnEventWritten(EventWrittenEventArgs eventData)
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
215[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventWrittenEventArgs))]
netstandard (1)
netstandard.cs (1)
737[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventWrittenEventArgs))]
System.Diagnostics.Tracing (1)
artifacts\obj\System.Diagnostics.Tracing\Debug\net10.0\System.Diagnostics.Tracing.Forwards.cs (1)
28[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Diagnostics.Tracing.EventWrittenEventArgs))]
System.Private.CoreLib (11)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (7)
1435var eventCallbackArgs = new EventWrittenEventArgs(this, eventId, pActivityId, relatedActivityId); 2065var eventCallbackArgs = new EventWrittenEventArgs(this, eventId, pActivityId, childActivityID) 2140private unsafe void WriteToAllListeners(EventWrittenEventArgs eventCallbackArgs, int eventDataCount, EventData* data) 2187internal void DispatchToAllListeners(EventWrittenEventArgs eventCallbackArgs) 2318var eventCallbackArgs = new EventWrittenEventArgs(this, 0) 4129public event EventHandler<EventWrittenEventArgs>? EventWritten; 4302protected internal virtual void OnEventWritten(EventWrittenEventArgs eventData)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\NativeRuntimeEventSource.cs (1)
69var eventCallbackArgs = new EventWrittenEventArgs(this, (int)eventID, &activityId, &childActivityId)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\TraceLoggingEventSource.cs (1)
701var eventCallbackArgs = new EventWrittenEventArgs(this, -1, pActivityId, pChildActivityId)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\XplatEventLogger.cs (2)
164protected internal override void OnEventWritten(EventWrittenEventArgs eventData) 182private static void LogOnEventWritten(EventWrittenEventArgs eventData)