Skip to content

Commit

Permalink
FIx source of crashing analyzer and restore
Browse files Browse the repository at this point in the history
  • Loading branch information
bkoelman committed Sep 26, 2024
1 parent 2bec731 commit 7f8b7d7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,6 @@ dotnet_diagnostic.JSON002.severity = silent
# CA1062: Validate arguments of public methods
dotnet_code_quality.CA1062.excluded_symbol_names = Accept|DefaultVisit|Visit*|Apply*

# Turn off crashing analyzer, https://github.com/dotnet/roslyn-analyzers/issues/7421
dotnet_diagnostic.CA2263.severity = none

#### .NET Naming Style ####

dotnet_diagnostic.IDE1006.severity = warning
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ internal void AssertLeftType<TLeft>()
Request.ShouldNotBeNull();
Request.PrimaryResourceType.ShouldNotBeNull();
Request.PrimaryResourceType.ClrType.Should().Be<TLeft>();
Request.Relationship?.LeftType.ClrType.Should().Be(typeof(TLeft));
Request.Relationship?.LeftType.ClrType.Should().Be<TLeft>();
}

internal void AssertRightTypes(params Type[] types)
Expand Down

0 comments on commit 7f8b7d7

Please sign in to comment.