Description
There were a few APIs in System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProvider that were previously unannotated for Nullable Reference Types. The annotations have now been applied.
These changes were made in dotnet/runtime#57932.
Version
.NET 6 RC2
Previous behavior
The APIs were treated as "oblivious" with regard to reference type nullability.
New behavior
The APIs are now annotated with their accurate nullability conditions.
Type of breaking change
Reason for change
These APIs had dependencies on other APIs that were previously unannotated. The dependencies have since been annotated, allowing these APIs to also be annotated, completing our nullable reference type annotations for the shared framework libraries.
Recommended action
Update code calling these APIs to reflect the revised nullability contracts.
Feature area
Core .NET libraries
Affected APIs
Description
There were a few APIs in
System.ComponentModel.DataAnnotations.AssociatedMetadataTypeTypeDescriptionProviderthat were previously unannotated for Nullable Reference Types. The annotations have now been applied.These changes were made in dotnet/runtime#57932.
Version
.NET 6 RC2
Previous behavior
The APIs were treated as "oblivious" with regard to reference type nullability.
New behavior
The APIs are now annotated with their accurate nullability conditions.
Type of breaking change
Reason for change
These APIs had dependencies on other APIs that were previously unannotated. The dependencies have since been annotated, allowing these APIs to also be annotated, completing our nullable reference type annotations for the shared framework libraries.
Recommended action
Update code calling these APIs to reflect the revised nullability contracts.
Feature area
Core .NET libraries
Affected APIs