2 writes to _cancellationTokenSource
Microsoft.Extensions.Logging.EventSource (2)
LoggingEventSource.cs (2)
400CancellationTokenSource cts = LazyInitializer.EnsureInitialized(ref _cancellationTokenSource, () => new CancellationTokenSource()); 407CancellationTokenSource? tcs = Interlocked.Exchange(ref _cancellationTokenSource, null);