Skip to content

Commit

Permalink
Update Microsoft.CodeAnalysis.NetAnalyzers to v9 (#2862)
Browse files Browse the repository at this point in the history
Remove warnings
  • Loading branch information
LucGenetier authored Mar 7, 2025
1 parent c0b21b2 commit 2792826
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<ItemGroup>
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis" Version="4.5.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0">
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="9.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading;
Expand Down Expand Up @@ -310,6 +311,7 @@ public override bool TryGetFieldType(string name, out FormulaType type)
// Explicit don't enumerate fields
public override IEnumerable<string> FieldNames => throw new NotImplementedException();

[SuppressMessage("Design", "CA1065: Do not raise exceptions in unexpected locations", Justification = "Tests")]
public override bool Equals(object other) => throw new NotImplementedException();

public override int GetHashCode() => throw new NotImplementedException();
Expand Down

0 comments on commit 2792826

Please sign in to comment.