Skip to content

Commit

Permalink
Reduce issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Corniel committed Apr 19, 2024
1 parent eae97bf commit 85980d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion shared/ConventionBasedSerializer.Initialize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ internal sealed partial class ConventionBasedSerializer<TSvo>
private static readonly Type[] NodeTypes = new[] { typeof(string), typeof(double), typeof(long), typeof(bool) };
#pragma warning restore S2743 // Static fields should not be used in generic types

private Type SvoType { get; } = TypeHelper.NotNullable(typeof(TSvo));
private Type SvoType { get; } = TypeHelper.NotNullable(typeof(TSvo))!;

private void Initialize()

Check warning on line 14 in shared/ConventionBasedSerializer.Initialize.cs

View workflow job for this annotation

GitHub Actions / build

The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541)

Check warning on line 14 in shared/ConventionBasedSerializer.Initialize.cs

View workflow job for this annotation

GitHub Actions / build

The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541)

Check warning on line 14 in shared/ConventionBasedSerializer.Initialize.cs

View workflow job for this annotation

GitHub Actions / build

The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541)

Check warning on line 14 in shared/ConventionBasedSerializer.Initialize.cs

View workflow job for this annotation

GitHub Actions / build

The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541)

Check warning on line 14 in shared/ConventionBasedSerializer.Initialize.cs

View workflow job for this annotation

GitHub Actions / build

The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541)

Check warning on line 14 in shared/ConventionBasedSerializer.Initialize.cs

View workflow job for this annotation

GitHub Actions / build

The Cyclomatic Complexity of this method is 11 which is greater than 10 authorized. (https://rules.sonarsource.com/csharp/RSPEC-1541)
{
Expand Down
1 change: 1 addition & 0 deletions test/Qowaiv.Json.UnitTests/BsonConverterRegisterTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

namespace Qowaiv.Json.UnitTests;

[Obsolete("Will be dropped with the next major release.")]
public class BsonConverterRegisterTest
{
[Test]
Expand Down

0 comments on commit 85980d0

Please sign in to comment.