Skip to content

Commit 2d7b0fe

Browse files
authored
Fix for 41759 (dotnet#41778)
1 parent dd1a47f commit 2d7b0fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/core/whats-new/dotnet-9/libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ The `MyPoco` type is defined as follows:
397397

398398
:::code language="csharp" source="../snippets/dotnet-9/csharp/Serialization.cs" id="Poco":::
399399

400-
You can also enable this setting globally using the `System.Text.Json.JsonSerializerOptions.RespectNullableAnnotations` feature switch in your project file (for example, *.csproj* file):
400+
You can also enable this setting globally using the `System.Text.Json.JsonSerializerOptions.RespectRequiredConstructorParameters` feature switch in your project file (for example, *.csproj* file):
401401

402402
```xml
403403
<ItemGroup>

0 commit comments

Comments
 (0)