65 references to OnError
Microsoft.CodeAnalysis.Razor.Compiler (65)
Language\Legacy\CSharpCodeParser.cs (40)
358
Context.ErrorSink.
OnError
(diagnostic);
412
Context.ErrorSink.
OnError
(
418
Context.ErrorSink.
OnError
(
424
Context.ErrorSink.
OnError
(
468
Context.ErrorSink.
OnError
(
725
Context.ErrorSink.
OnError
(
852
Context.ErrorSink.
OnError
(
885
Context.ErrorSink.
OnError
(
947
Context.ErrorSink.
OnError
(
1072
Context.ErrorSink.
OnError
(
1164
Context.ErrorSink.
OnError
(
1212
Context.ErrorSink.
OnError
(
1234
Context.ErrorSink.
OnError
(
1370
Context.ErrorSink.
OnError
(
1392
Context.ErrorSink.
OnError
(
1597
Context.ErrorSink.
OnError
(
1650
Context.ErrorSink.
OnError
(
1664
Context.ErrorSink.
OnError
(
1676
Context.ErrorSink.
OnError
(
1693
Context.ErrorSink.
OnError
(
1708
Context.ErrorSink.
OnError
(
1723
Context.ErrorSink.
OnError
(
1741
Context.ErrorSink.
OnError
(
1762
Context.ErrorSink.
OnError
(
1792
Context.ErrorSink.
OnError
(
1815
Context.ErrorSink.
OnError
(
1855
Context.ErrorSink.
OnError
(
1978
Context.ErrorSink.
OnError
(
2059
Context.ErrorSink.
OnError
(
2072
Context.ErrorSink.
OnError
(
2187
Context.ErrorSink.
OnError
(
2193
Context.ErrorSink.
OnError
(
2223
Context.ErrorSink.
OnError
(
2385
Context.ErrorSink.
OnError
(
2393
Context.ErrorSink.
OnError
(
2401
Context.ErrorSink.
OnError
(
2663
Context.ErrorSink.
OnError
(
2908
Context.ErrorSink.
OnError
(
3090
Context.ErrorSink.
OnError
(
3195
Context.ErrorSink.
OnError
(
Language\Legacy\HtmlMarkupParser.cs (9)
177
Context.ErrorSink.
OnError
(
354
Context.ErrorSink.
OnError
(
569
Context.ErrorSink.
OnError
(
585
Context.ErrorSink.
OnError
(
686
Context.ErrorSink.
OnError
(
717
Context.ErrorSink.
OnError
(
843
Context.ErrorSink.
OnError
(
995
Context.ErrorSink.
OnError
(
1573
Context.ErrorSink.
OnError
(
Language\Legacy\TagHelperBlockRewriter.cs (4)
115
errorSink.
OnError
(diagnostic);
128
errorSink.
OnError
(diagnostic);
193
errorSink.
OnError
(diagnostic);
202
errorSink.
OnError
(diagnostic);
Language\Legacy\TagHelperParseTreeRewriter.cs (9)
143
_errorSink.
OnError
(
185
_errorSink.
OnError
(
366
_errorSink.
OnError
(
491
_errorSink.
OnError
(
513
_errorSink.
OnError
(
530
_errorSink.
OnError
(
585
_errorSink.
OnError
(
703
errorSink.
OnError
(
721
errorSink.
OnError
(
Language\Legacy\TokenizerBackedParser.cs (3)
387
Context.ErrorSink.
OnError
(diagnostic);
396
Context.ErrorSink.
OnError
(diagnostic);
537
Context.ErrorSink.
OnError
(error);