Skip to content

Commit eaca7f1

Browse files
authored
Update RuntimeData.cs
1 parent 54d089b commit eaca7f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/runtime/StateSerialization/RuntimeData.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public static class RuntimeData
1818

1919
public readonly static Func<IFormatter> DefaultFormatterFactory = () =>
2020
{
21-
var fw = RuntimeInformation.FrameworkDescription;
21+
var fw = RuntimeInformation.FrameworkDescription ?? "undefined";
2222
if (fw.StartsWith(".NET Framework") || fw.StartsWith("Mono"))
2323
{
2424
try

0 commit comments

Comments
 (0)