Skip to content

Commit 7f8b7d7

Browse files
committed
FIx source of crashing analyzer and restore
1 parent 2bec731 commit 7f8b7d7

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.editorconfig

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,6 @@ dotnet_diagnostic.JSON002.severity = silent
160160
# CA1062: Validate arguments of public methods
161161
dotnet_code_quality.CA1062.excluded_symbol_names = Accept|DefaultVisit|Visit*|Apply*
162162

163-
# Turn off crashing analyzer, https://github.com/dotnet/roslyn-analyzers/issues/7421
164-
dotnet_diagnostic.CA2263.severity = none
165-
166163
#### .NET Naming Style ####
167164

168165
dotnet_diagnostic.IDE1006.severity = warning

test/JsonApiDotNetCoreTests/IntegrationTests/ResourceInheritance/ResourceTypeCaptureStore.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ internal void AssertLeftType<TLeft>()
2929
Request.ShouldNotBeNull();
3030
Request.PrimaryResourceType.ShouldNotBeNull();
3131
Request.PrimaryResourceType.ClrType.Should().Be<TLeft>();
32-
Request.Relationship?.LeftType.ClrType.Should().Be(typeof(TLeft));
32+
Request.Relationship?.LeftType.ClrType.Should().Be<TLeft>();
3333
}
3434

3535
internal void AssertRightTypes(params Type[] types)

0 commit comments

Comments
 (0)