2 writes to Observer
System.Diagnostics.DiagnosticSource (2)
System\Diagnostics\DiagnosticListener.cs (2)
332return new DiagnosticSubscription() { Observer = subscriptions.Observer, Owner = subscriptions.Owner, IsEnabled1Arg = subscriptions.IsEnabled1Arg, IsEnabled3Arg = subscriptions.IsEnabled3Arg, OnActivityImport = subscriptions.OnActivityImport, OnActivityExport = subscriptions.OnActivityExport, Next = Remove(subscriptions.Next, subscription) }; 444Observer = observer,
7 references to Observer
System.Diagnostics.DiagnosticSource (7)
System\Diagnostics\DiagnosticListener.cs (7)
193subscriber.Observer.OnCompleted(); 263curSubscription.Observer.OnNext(new KeyValuePair<string, object?>(name, value)); 305Debug.Assert(!(cur.Observer == Observer && cur.IsEnabled1Arg == IsEnabled1Arg && cur.IsEnabled3Arg == IsEnabled3Arg), "Did not remove subscription!"); 323if (subscriptions.Observer == subscription.Observer && 332return new DiagnosticSubscription() { Observer = subscriptions.Observer, Owner = subscriptions.Owner, IsEnabled1Arg = subscriptions.IsEnabled1Arg, IsEnabled3Arg = subscriptions.IsEnabled3Arg, OnActivityImport = subscriptions.OnActivityImport, OnActivityExport = subscriptions.OnActivityExport, Next = Remove(subscriptions.Next, subscription) };