提交 9d7f3ee5 编写于 作者: H Heejae Chang

guard from null exception

上级 7c02cb54
......@@ -49,6 +49,11 @@ internal class VisualStudioDiagnosticListTable : VisualStudioBaseDiagnosticListT
private ITableDataSource GetCurrentDataSource()
{
if (_errorList == null)
{
return _liveTableSource;
}
return _errorList.AreOtherErrorSourceEntriesShown ? (ITableDataSource)_liveTableSource : _buildTableSource;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册