37 references to ErrId
Microsoft.ML.Transforms (37)
Expression\Lexer.cs (18)
104private void ReportError(ErrId eid) 109private void ReportError(ErrId eid, params object[] args) 114private void ReportError(int ichMin, int ichLim, ErrId eid, params object[] args) 189ReportError(ErrId.VerbatimLiteralExpected); 325ReportError(ErrId.IntOverflow); 353ReportError(ErrId.IntOverflow); 379ReportError(ErrId.FloatOverflow, "double"); 390ReportError(ErrId.FloatOverflow, "float"); 482ReportError(ErrId.UnterminatedString); 522ReportError(ErrId.NewlineInConst); 531ReportError(_sb.Length == 0 ? ErrId.CharConstEmpty : ErrId.CharConstTooLong); 606ReportError(ichErr, _cursor.IchCur, ErrId.BadEscape); 622ReportError(ichErr, _cursor.IchCur, ErrId.BadEscape); 639ReportError(ErrId.BadEscape); 693ReportError(ichErr, _cursor.IchCur, ErrId.BadChar, LexCharUtils.GetUniEscape(u)); 750ReportError(ichErr, _cursor.IchCur, ErrId.UnterminatedComment); 840return new ErrorToken(GetSpan(), ErrId.BadChar, _sb.ToString());
Expression\Tokens.cs (2)
269public readonly ErrId Id; 272public ErrorToken(TextSpan span, ErrId eid, params object[] args)
Expression\TokKind.cs (17)
125public static string GetMsgFmt(this ErrId eid, out int carg) 130case ErrId.BadChar: 133case ErrId.BadEscape: 135case ErrId.CharConstEmpty: 137case ErrId.CharConstTooLong: 139case ErrId.FloatOverflow: 142case ErrId.IntOverflow: 144case ErrId.NewlineInConst: 146case ErrId.UnterminatedComment: 148case ErrId.UnterminatedString: 150case ErrId.VerbatimLiteralExpected: 153case ErrId.BadPreProcPos: 155case ErrId.EndOfPreLineExpected: 157case ErrId.IdentExpected: 159case ErrId.PreProcDirExpected: 161case ErrId.UniEscInPreProc: 170public static string GetMsg(this ErrId eid, params object[] args)