diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/TagList.netcore.cs b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/TagList.netcore.cs index cd070ebdd31a5..325a0ee380c75 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/TagList.netcore.cs +++ b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/TagList.netcore.cs @@ -266,6 +266,7 @@ public bool Remove(KeyValuePair item) /// Searches for the specified tag and returns the zero-based index of the first occurrence within the entire . /// /// The tag to locate in the . + /// The zero-based index of the first occurrence within the , or -1 if there is no such tag. public readonly int IndexOf(KeyValuePair item) { ReadOnlySpan> tags = diff --git a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/TagList.netfx.cs b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/TagList.netfx.cs index f003241ceb40a..4714348bd82a6 100644 --- a/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/TagList.netfx.cs +++ b/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/Metrics/TagList.netfx.cs @@ -416,6 +416,7 @@ public bool Remove(KeyValuePair item) /// Searches for the specified tag and returns the zero-based index of the first occurrence within the entire . /// /// The tag to locate in the . + /// The zero-based index of the first occurrence within the , or -1 if there is no such tag. public readonly int IndexOf(KeyValuePair item) { if (_overflowTags is not null)