diff --git a/Common.props b/Common.props index 173c2d47a6..aa124cb6b7 100644 --- a/Common.props +++ b/Common.props @@ -7,7 +7,7 @@ - + diff --git a/src/SourceGenerators/EquatableArray.cs b/src/SourceGenerators/EquatableArray.cs index db1eebed4b..1ecaf1cba4 100644 --- a/src/SourceGenerators/EquatableArray.cs +++ b/src/SourceGenerators/EquatableArray.cs @@ -40,11 +40,6 @@ public override int GetHashCode() } } - private ReadOnlySpan AsSpan() - { - return _array.AsSpan(); - } - IEnumerator IEnumerable.GetEnumerator() { return ((IEnumerable)_array).GetEnumerator(); @@ -54,4 +49,9 @@ IEnumerator IEnumerable.GetEnumerator() { return ((IEnumerable)_array).GetEnumerator(); } + + private ReadOnlySpan AsSpan() + { + return _array.AsSpan(); + } }