Skip to content
This repository was archived by the owner on Mar 19, 2019. It is now read-only.

Commit 4052c26

Browse files
committed
Quick fix: Clean up HeaderDictionary doc comments
- remove incorrect use of `Microsoft.AspNetCore.Http.Internal` namespace
1 parent 02f30af commit 4052c26

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Microsoft.AspNetCore.Server.WebListener/HeaderDictionary.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ public bool ContainsKey(string key)
144144
/// <summary>
145145
/// Copies the <see cref="T:HeaderDictionary" /> elements to a one-dimensional Array instance at the specified index.
146146
/// </summary>
147-
/// <param name="array">The one-dimensional Array that is the destination of the specified objects copied from the <see cref="T:Microsoft.AspNetCore.Http.Internal.HeaderDictionary" />.</param>
147+
/// <param name="array">The one-dimensional Array that is the destination of the specified objects copied from
148+
/// the <see cref="T:HeaderDictionary" />.</param>
148149
/// <param name="arrayIndex">The zero-based index in <paramref name="array" /> at which copying begins.</param>
149150
public void CopyTo(KeyValuePair<string, StringValues>[] array, int arrayIndex)
150151
{
@@ -185,7 +186,7 @@ public bool TryGetValue(string key, out StringValues value)
185186
/// <summary>
186187
/// Returns an enumerator that iterates through a collection.
187188
/// </summary>
188-
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
189+
/// <returns>An <see cref="T:IEnumerator" /> object that can be used to iterate through the collection.</returns>
189190
public IEnumerator GetEnumerator()
190191
{
191192
return Store.GetEnumerator();
@@ -194,7 +195,7 @@ public IEnumerator GetEnumerator()
194195
/// <summary>
195196
/// Returns an enumerator that iterates through a collection.
196197
/// </summary>
197-
/// <returns>An <see cref="T:System.Collections.IEnumerator" /> object that can be used to iterate through the collection.</returns>
198+
/// <returns>An <see cref="T:IEnumerator" /> object that can be used to iterate through the collection.</returns>
198199
IEnumerator<KeyValuePair<string, StringValues>> IEnumerable<KeyValuePair<string, StringValues>>.GetEnumerator()
199200
{
200201
return Store.GetEnumerator();

0 commit comments

Comments
 (0)