Skip to content

Commit 68db36f

Browse files
authored
Make the eager-enumerator a sealed class (dotnet#113927)
Per [review feedback from @stephentoub](dotnet#113775 (comment)) post-merge
1 parent eff415b commit 68db36f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libraries/System.DirectoryServices/src/System/DirectoryServices/SearchResultCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ void ICollection.CopyTo(Array array, int index)
215215
}
216216

217217
/// <summary>Provides an enumerator implementation for the array of <see cref="SearchResult"/>.</summary>
218-
private struct AlreadyReadResultsEnumerator : IEnumerator
218+
private sealed class AlreadyReadResultsEnumerator : IEnumerator
219219
{
220220
private readonly IEnumerator _innerEnumerator;
221221

0 commit comments

Comments
 (0)