There was an error while loading. Please reload this page.
1 parent 117c66a commit 0258688Copy full SHA for 0258688
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