Skip to content

Commit

Permalink
Use C# 13
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrzesniewski committed Dec 18, 2024
1 parent 73fc611 commit 46ddd22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Abc.Zebus.Persistence/MessageReplayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private void RunProc(ManualResetEvent signal)
{
Run(_cancellationTokenSource!.Token);
if (_cancellationTokenSource!.IsCancellationRequested)
_logger.LogWarning("Replay cancelled, PeerId: {_peer.Id}");
_logger.LogWarning($"Replay cancelled, PeerId: {_peer.Id}");
}
catch (Exception ex)
{
Expand Down
6 changes: 3 additions & 3 deletions src/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<Project>

<PropertyGroup>
<LangVersion>13.0</LangVersion>
<AnalysisLevel>9.0</AnalysisLevel>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<LangVersion>11.0</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Prefer32Bit>false</Prefer32Bit>
<DefaultItemExcludes>$(DefaultItemExcludes);*.DotSettings;*.ncrunchproject</DefaultItemExcludes>
Expand Down Expand Up @@ -44,8 +45,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="JetBrains.Annotations" Version="2023.3.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="all" />
<PackageReference Include="JetBrains.Annotations" Version="2024.3.0" PrivateAssets="all" />
</ItemGroup>

</Project>

0 comments on commit 46ddd22

Please sign in to comment.