5 instantiations of Enumerator
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Activity.cs (3)
413public Enumerator<KeyValuePair<string, object?>> EnumerateTagObjects() => new Enumerator<KeyValuePair<string, object?>>(_tags?.First); 419public Enumerator<ActivityEvent> EnumerateEvents() => new Enumerator<ActivityEvent>(_events?.First); 425public Enumerator<ActivityLink> EnumerateLinks() => new Enumerator<ActivityLink>(_links?.First);
System\Diagnostics\ActivityEvent.cs (1)
62public Activity.Enumerator<KeyValuePair<string, object?>> EnumerateTagObjects() => new Activity.Enumerator<KeyValuePair<string, object?>>(_tags?.First);
System\Diagnostics\ActivityLink.cs (1)
51public Activity.Enumerator<KeyValuePair<string, object?>> EnumerateTagObjects() => new Activity.Enumerator<KeyValuePair<string, object?>>(_tags?.First);
12 references to Enumerator
System.Diagnostics.DiagnosticSource (12)
System\Diagnostics\Activity.cs (8)
412/// <returns><see cref="Enumerator{T}"/>.</returns> 413public Enumerator<KeyValuePair<string, object?>> EnumerateTagObjects() => new Enumerator<KeyValuePair<string, object?>>(_tags?.First); 418/// <returns><see cref="Enumerator{T}"/>.</returns> 419public Enumerator<ActivityEvent> EnumerateEvents() => new Enumerator<ActivityEvent>(_events?.First); 424/// <returns><see cref="Enumerator{T}"/>.</returns> 425public Enumerator<ActivityLink> EnumerateLinks() => new Enumerator<ActivityLink>(_links?.First); 1523/// <returns><see cref="Enumerator{T}"/>.</returns> 1525public readonly Enumerator<T> GetEnumerator() => this;
System\Diagnostics\ActivityEvent.cs (2)
61/// <returns><see cref="Activity.Enumerator{T}"/>.</returns> 62public Activity.Enumerator<KeyValuePair<string, object?>> EnumerateTagObjects() => new Activity.Enumerator<KeyValuePair<string, object?>>(_tags?.First);
System\Diagnostics\ActivityLink.cs (2)
50/// <returns><see cref="Activity.Enumerator{T}"/>.</returns> 51public Activity.Enumerator<KeyValuePair<string, object?>> EnumerateTagObjects() => new Activity.Enumerator<KeyValuePair<string, object?>>(_tags?.First);