Skip to content

Commit

Permalink
fix: CS8603 Possible null reference return.
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzik committed Mar 22, 2024
1 parent c25161d commit adb20ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Iesi.Collections/Generic/LinkedHashSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public bool MoveNext()
public T Current => _current!;

/// <inheritdoc />
object IEnumerator.Current => Current;
object IEnumerator.Current => Current!;

/// <inheritdoc />
void IEnumerator.Reset() => throw new NotSupportedException();
Expand Down

0 comments on commit adb20ca

Please sign in to comment.