Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair inconsistent nullability nullability on TypeConverter (#63186) #63874

Merged
merged 1 commit into from
Mar 1, 2022

Commits on Feb 28, 2022

  1. Improve nullability for TypeConverter.CanConvertTo

    The nullability of parameter 'destinationType' in
    TypeConverter.CanConvertTo(...) was changed from
    not-nullable to nullable during the development of .NET 6.
    
    Since a destination type supported by this TypeConverter
    can never be null, a NotNullWhenAttribute is added to the
    'destinationType' parameter when the result value of
    TypeConverter.CanConvertTo(...) is 'true'.
    
    Fix dotnet#63186
    MichaelKetting committed Feb 28, 2022
    Configuration menu
    Copy the full SHA
    f1849d6 View commit details
    Browse the repository at this point in the history