提交 ca618de9 编写于 作者: J Jared Parsons

Merge pull request #5704 from pdelvo/NREinSV

Fix a NullReferenceException in the syntax visualizer
......@@ -778,7 +778,7 @@ private void ConstantValueDetailsMenuItem_Click(object sender, RoutedEventArgs e
else
{
typeTextLabel.Visibility = Visibility.Visible;
typeValueLabel.Content = value.Value.GetType().Name;
typeValueLabel.Content = value.Value?.GetType().Name ?? "<null>";
_propertyGrid.SelectedObject = value;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册