提交 e667ceea 编写于 作者: H Heejae Chang

put TypeRefResolutionError3 and MissingRuntimeHelper as build only error list.

上级 d4b28157
......@@ -21,6 +21,13 @@ Namespace Microsoft.CodeAnalysis.Diagnostics.VisualBasic
Dim errorCodes As Array = [Enum].GetValues(GetType(ERRID))
Dim builder = ImmutableArray.CreateBuilder(Of Integer)
For Each errorCode As Integer In errorCodes
' these errors are not supported by live analysis
If errorCode = ERRID.ERR_TypeRefResolutionError3 OrElse
errorCode = ERRID.ERR_MissingRuntimeHelper Then
Continue For
End If
If errorCode > ERRID.ERR_None AndAlso errorCode <= ERRID.ERRWRN_Last Then
builder.Add(errorCode)
End If
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册