We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 117c66a commit ccca132Copy full SHA for ccca132
1 file changed
src/runtime/StateSerialization/RuntimeData.cs
@@ -20,7 +20,9 @@ public static class RuntimeData
20
{
21
try
22
23
- return new BinaryFormatter();
+ var res = new BinaryFormatter();
24
+ res.Serialize(new MemoryStream(), 1); // test if BinaryFormatter is usable
25
+ return res;
26
}
27
catch
28
0 commit comments