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