1 write to IsStopped
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Activity.cs (1)
855IsStopped = true;
24 references to IsStopped
Microsoft.AspNetCore.Components (2)
ComponentsActivitySource.cs (2)
115if (activity != null && !activity.IsStopped) 128if (Activity.Current == null && activityHandle.Previous != null && !activityHandle.Previous.IsStopped)
Microsoft.AspNetCore.Components.Server (2)
Circuits\CircuitActivitySource.cs (2)
62if (activity != null && !activity.IsStopped) 75if (Activity.Current == null && activityHandle.Previous != null && !activityHandle.Previous.IsStopped)
Microsoft.AspNetCore.Components.Server.Tests (3)
Circuits\CircuitActivitySourceTest.cs (3)
58Assert.False(activity.IsStopped); 61Assert.True(activity.IsStopped); 82Assert.True(activity!.IsStopped);
Microsoft.AspNetCore.Components.Tests (7)
ComponentsActivitySourceTest.cs (7)
64Assert.False(activity.IsStopped); 67Assert.True(activity.IsStopped); 101Assert.False(activity.IsStopped); 104Assert.True(activity.IsStopped); 124Assert.True(activity!.IsStopped); 144Assert.True(activity!.IsStopped); 164Assert.True(activity!.IsStopped);
Microsoft.AspNetCore.SignalR.Client.FunctionalTests (3)
HubConnectionTests.Tracing.cs (3)
279Assert.False(clientActivity.IsStopped); 331Assert.True(a.IsStopped); 352Assert.True(clientActivity.IsStopped);
Microsoft.AspNetCore.SignalR.Tests (1)
HubConnectionHandlerTests.Activity.cs (1)
494Assert.True(activity.IsStopped);
System.Diagnostics.DiagnosticSource (4)
System\Diagnostics\Activity.cs (4)
853if (!IsStopped) 1112if (!IsStopped) 1411bool canSet = activity == null || (activity.Id != null && !activity.IsStopped); 1475/// When subscribing to <see cref="Activity"/> stop event using <see cref="ActivityListener.ActivityStopped"/>, the received <see cref="Activity"/> object in the event callback will have <see cref="IsStopped"/> as true.
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
291Debug.Assert(connectionSetupActivity?.IsStopped is not true);
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
997Debug.Assert(_activity?.IsStopped != false);