Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Fix nullabilities of ChangeType()
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Nov 18, 2021
1 parent 9255579 commit a0ac124
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Version>2.2.0</Version>
<Version>2.2.1</Version>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion JustArchiNET.Madness/ConvertMadness/Convert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace JustArchiNET.Madness.ConvertMadness;
[PublicAPI]
public static class Convert {
[MadnessType(EMadnessType.Proxy)]
public static object ChangeType(object value, Type conversionType, IFormatProvider provider) => System.Convert.ChangeType(value, conversionType, provider);
public static object ChangeType(object? value, Type conversionType, IFormatProvider? provider) => System.Convert.ChangeType(value, conversionType, provider);

[MadnessType(EMadnessType.Proxy)]
public static byte[] FromBase64String(string s) => System.Convert.FromBase64String(s);
Expand Down

0 comments on commit a0ac124

Please sign in to comment.