Skip to content

Commit a3293f7

Browse files
Bump SonarAnalyzer.CSharp from 9.11.0.78383 to 9.12.0.78982 (#1690)
Bumps [SonarAnalyzer.CSharp](https://github.com/SonarSource/sonar-dotnet) from 9.11.0.78383 to 9.12.0.78982. - [Release notes](https://github.com/SonarSource/sonar-dotnet/releases) - [Commits](SonarSource/sonar-dotnet@9.11.0.78383...9.12.0.78982) --- updated-dependencies: - dependency-name: SonarAnalyzer.CSharp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent e68645d commit a3293f7

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<PackageVersion Include="Polly.Testing" Version="$(PollyVersion)" />
3232
<PackageVersion Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" />
3333
<PackageVersion Include="ReportGenerator" Version="5.1.26" />
34-
<PackageVersion Include="SonarAnalyzer.CSharp" Version="9.11.0.78383" />
34+
<PackageVersion Include="SonarAnalyzer.CSharp" Version="9.12.0.78982" />
3535
<PackageVersion Include="StyleCop.Analyzers" Version="1.2.0-beta.507" />
3636
<PackageVersion Include="System.ComponentModel.Annotations" Version="4.5.0" />
3737
<PackageVersion Include="System.Diagnostics.DiagnosticSource" Version="$(MicrosoftExtensionsVersion)" />

src/Polly.Core/Simmy/Outcomes/OutcomePipelineBuilderExtensions.TResult.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static ResiliencePipelineBuilder<TResult> AddChaosResult<TResult>(this Re
8686
{
8787
Enabled = enabled,
8888
InjectionRate = injectionRate,
89-
Outcome = new(result)
89+
Outcome = new Outcome<TResult>(result)
9090
});
9191
return builder;
9292
}

test/Polly.Core.Tests/Simmy/Outcomes/OutcomeChaosPipelineBuilderExtensionsTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class OutcomeChaosPipelineBuilderExtensionsTests
1616
InjectionRate = 0.6,
1717
Enabled = true,
1818
Randomizer = () => 0.5,
19-
Outcome = new(100)
19+
Outcome = new Outcome<int>(100)
2020
});
2121

2222
AssertResultStrategy(builder, true, 0.6, new(100))
@@ -28,7 +28,7 @@ public class OutcomeChaosPipelineBuilderExtensionsTests
2828
{
2929
builder =>
3030
{
31-
builder.AddChaosFault<string>(new FaultStrategyOptions
31+
builder.AddChaosFault(new FaultStrategyOptions
3232
{
3333
InjectionRate = 0.6,
3434
Enabled = true,

0 commit comments

Comments
 (0)