Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BACKPORT #6497] Fix of PVS-Studio warnings. #6521

Merged

Conversation

Arkatufus
Copy link
Contributor

Fixes #6073
Changes

Fix of Issue 2,3,4.

(cherry-picked from f92c609)

Copy link
Member

@Aaronontheweb Aaronontheweb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Compilation fails @Arkatufus

D:\a\1\s\src\core\Akka.Tests\Util\Base64EncodingSpec.cs(11,1): error CS8400: Feature 'file-scoped namespace' is not available in C# 8.0. Please use language version 10.0 or greater. [D:\a\1\s\src\core\Akka.Tests\Akka.Tests.csproj::TargetFramework=netcoreapp3.1]
D:\a\1\s\src\core\Akka.Tests\Util\Base64EncodingSpec.cs(11,1): error CS8370: Feature 'file-scoped namespace' is not available in C# 7.3. Please use language version 10.0 or greater. [D:\a\1\s\src\core\Akka.Tests\Akka.Tests.csproj::TargetFramework=net471]
D:\a\1\s\src\core\Akka.Tests\Util\Base64EncodingSpec.cs(18,37): error CS0121: The call is ambiguous between the following methods or properties: 'Base64Encoding.Base64Encode(long, string)' and 'Base64Encoding.Base64Encode(long, StringBuilder)' [D:\a\1\s\src\core\Akka.Tests\Akka.Tests.csproj::TargetFramework=net7.0]
    57 Warning(s)
    3 Error(s)

@Aaronontheweb Aaronontheweb added the akka.net v1.4 Issues affecting Akka.NET v1.4 label Mar 15, 2023
@Aaronontheweb Aaronontheweb added this to the 1.4.50 milestone Mar 15, 2023
@Aaronontheweb Aaronontheweb merged commit 42f9d9d into akkadotnet:v1.4 Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
akka.net v1.4 Issues affecting Akka.NET v1.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants