Skip to content

Commit

Permalink
Fix #8806: Downgrade Microsoft.CodeAnalyis to v4.5.0 (#8849)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReubenBond authored Feb 12, 2024
1 parent 8aca6a8 commit 34f7e0b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
<PackageVersion Include="Microsoft.Azure.Cosmos" Version="3.35.4" />
<PackageVersion Include="Microsoft.Build" Version="17.7.2" />
<PackageVersion Include="Microsoft.CSharp" Version="4.7.0" />
<PackageVersion Include="Microsoft.CodeAnalysis" Version="4.8.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Common" Version="4.8.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.8.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.8.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.8.0" />
<PackageVersion Include="Microsoft.CodeAnalysis" Version="4.5.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Common" Version="4.5.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="4.5.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="4.5.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.Common" Version="4.5.0" />
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0-beta1.23472.1" />
<PackageVersion Include="Microsoft.DotNet.PlatformAbstractions" Version="3.1.6" />
<PackageVersion Include="Microsoft.AspNetCore.Connections.Abstractions" Version="8.0.0" />
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans.Analyzers/AliasClashAttributeAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public partial class AliasClashAttributeAnalyzer : DiagnosticAnalyzer

public const string RuleId = "ORLEANS0011";

private static readonly DiagnosticDescriptor Rule = new(
private static readonly DiagnosticDescriptor Rule = new DiagnosticDescriptor(
id: RuleId,
category: "Usage",
defaultSeverity: DiagnosticSeverity.Error,
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans.Analyzers/IdClashAttributeAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class IdClashAttributeAnalyzer : DiagnosticAnalyzer

public const string RuleId = "ORLEANS0012";

private static readonly DiagnosticDescriptor Rule = new(
private static readonly DiagnosticDescriptor Rule = new DiagnosticDescriptor(
id: RuleId,
category: "Usage",
defaultSeverity: DiagnosticSeverity.Error,
Expand Down
2 changes: 1 addition & 1 deletion src/Orleans.Analyzers/IncorrectAttributeUseAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class IncorrectAttributeUseAnalyzer : DiagnosticAnalyzer
{
public const string RuleId = "ORLEANS0013";

private static readonly DiagnosticDescriptor Rule = new(
private static readonly DiagnosticDescriptor Rule = new DiagnosticDescriptor(
id: RuleId,
category: "Usage",
defaultSeverity: DiagnosticSeverity.Error,
Expand Down

0 comments on commit 34f7e0b

Please sign in to comment.