FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

nullability annotation fix in MaybeMethodBase · pythonnet/pythonnet@05ecbcf · GitHub

Repository navigation

Commit 05ecbcf

Browse files
committed
nullability annotation fix in MaybeMethodBase
1 parent cd97a46 commit 05ecbcf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/runtime/StateSerialization/MaybeMethodBase.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ internal struct MaybeMethodBase<T> : ISerializable where T: MethodBase
1919
const string SerializationIsCtor = "c";
2020
const string SerializationMethodName = "n";
2121

22-
public static implicit operator MaybeMethodBase<T> (T ob) => new MaybeMethodBase<T>(ob);
22+
public static implicit operator MaybeMethodBase<T> (T? ob) => new (ob);
2323

2424
string name;
2525
MethodBase? info;

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL