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