Skip to content

Commit

Permalink
Bump StyleCop.Analyzers to 1.2.0-beta.556 (open-telemetry#3211)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kielek authored Jan 3, 2024
1 parent 8cf3682 commit da61aa5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<!-- StyleCop -->
<ItemGroup>
<GlobalPackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.507" PrivateAssets="all" />
<GlobalPackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.556" PrivateAssets="all" />
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" Link="stylecop.json" />
<Compile Include="$(MSBuildThisFileDirectory)GlobalSuppressions.cs" Link="GlobalSuppressions.solution.cs" />
</ItemGroup>
Expand Down
10 changes: 5 additions & 5 deletions src/SourceGenerators/EquatableArray.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ public override int GetHashCode()
}
}

private ReadOnlySpan<T> AsSpan()
{
return _array.AsSpan();
}

IEnumerator<T> IEnumerable<T>.GetEnumerator()
{
return ((IEnumerable<T>)_array).GetEnumerator();
Expand All @@ -54,4 +49,9 @@ IEnumerator IEnumerable.GetEnumerator()
{
return ((IEnumerable<T>)_array).GetEnumerator();
}

private ReadOnlySpan<T> AsSpan()
{
return _array.AsSpan();
}
}

0 comments on commit da61aa5

Please sign in to comment.