Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd97a46 commit 05ecbcfCopy full SHA for 05ecbcf
src/runtime/StateSerialization/MaybeMethodBase.cs
@@ -19,7 +19,7 @@ internal struct MaybeMethodBase<T> : ISerializable where T: MethodBase
19
const string SerializationIsCtor = "c";
20
const string SerializationMethodName = "n";
21
22
- public static implicit operator MaybeMethodBase<T> (T ob) => new MaybeMethodBase<T>(ob);
+ public static implicit operator MaybeMethodBase<T> (T? ob) => new (ob);
23
24
string name;
25
MethodBase? info;
0 commit comments