Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Wolfgang.TryPattern/Try.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public static async Task<Result> RunAsync(Action action, CancellationToken token
/// <param name="function">The function to execute.</param>
/// <param name="token">The CancellationToken to monitor.</param>
/// <returns>
/// A <see cref="Task"/> of <see cref="Result{T}"/> representing the asynchronous operation
/// A <see cref="Task"/> of <see cref="Result{T}"/> representing the asynchronous operation.
/// </returns>
#if NET5_0_OR_GREATER
public static async Task<Result<T?>> RunAsync<T>(Func<Task<T?>> function, CancellationToken token = default)
Expand Down Expand Up @@ -155,7 +155,7 @@ public static async Task<Result<T>> RunAsync<T>(Func<Task<T>> function, Cancella
{
throw new ArgumentNullException(nameof(function));
}

try
{
var result = await function().ConfigureAwait(false);
Expand Down
2 changes: 1 addition & 1 deletion src/Wolfgang.TryPattern/Wolfgang.TryPattern.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</PackageReference>

<!-- SonarAnalyzer - Industry-standard analysis -->
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.23.0.137933">
<PackageReference Include="SonarAnalyzer.CSharp" Version="10.24.0.138807">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Loading