Пример #1
0
 public static ErrorType ToErrorType(this ErrorSymbol errorSymbol)
 => ErrorType.Create(errorSymbol.GetDiagnostics());
Пример #2
0
 public static ErrorTypeSymbol ToErrorType(this ErrorSymbol errorSymbol) => new ErrorTypeSymbol(errorSymbol.GetDiagnostics());