Skip to content

Commit 9c0668b

Browse files
committed
Skip test expecting NullableContextAttribute to be partially trimmed
1 parent 1541c54 commit 9c0668b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libraries/System.Text.Json/tests/Common/UnsupportedTypesTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ public override void Write(Utf8JsonWriter writer, IntPtr value, JsonSerializerOp
170170

171171
#if !BUILDING_SOURCE_GENERATOR_TESTS
172172
[Fact]
173+
[SkipOnTargetFramework(TargetFrameworkMonikers.Netcoreapp, "NullableContextAttribute is public in corelib in .NET 8+")]
173174
public async Task TypeWithNullConstructorParameterName_ThrowsNotSupportedException()
174175
{
175176
// Regression test for https://github.com/dotnet/runtime/issues/58690

0 commit comments

Comments
 (0)