50 references to ErrorSink
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\Legacy\ParserTestBase.cs (1)
228var diagnostics = context.ErrorSink.GetErrorsAndClear();
Microsoft.CodeAnalysis.Razor.Compiler (49)
Language\Legacy\CSharpCodeParser.cs (37)
356Context.ErrorSink.OnError(diagnostic); 410Context.ErrorSink.OnError( 416Context.ErrorSink.OnError( 422Context.ErrorSink.OnError( 466Context.ErrorSink.OnError( 723Context.ErrorSink.OnError( 850Context.ErrorSink.OnError( 888Context.ErrorSink.OnError( 950Context.ErrorSink.OnError( 1075Context.ErrorSink.OnError( 1151Context.ErrorSink.OnError( 1212Context.ErrorSink.OnError( 1348Context.ErrorSink.OnError( 1370Context.ErrorSink.OnError( 1575Context.ErrorSink.OnError( 1628Context.ErrorSink.OnError( 1642Context.ErrorSink.OnError( 1654Context.ErrorSink.OnError( 1671Context.ErrorSink.OnError( 1686Context.ErrorSink.OnError( 1701Context.ErrorSink.OnError( 1719Context.ErrorSink.OnError( 1740Context.ErrorSink.OnError( 1770Context.ErrorSink.OnError( 1793Context.ErrorSink.OnError( 1833Context.ErrorSink.OnError( 1948Context.ErrorSink.OnError( 2021Context.ErrorSink.OnError( 2027Context.ErrorSink.OnError( 2057Context.ErrorSink.OnError( 2219Context.ErrorSink.OnError( 2227Context.ErrorSink.OnError( 2235Context.ErrorSink.OnError( 2497Context.ErrorSink.OnError( 2745Context.ErrorSink.OnError( 2928Context.ErrorSink.OnError( 3005Context.ErrorSink.OnError(
Language\Legacy\HtmlMarkupParser.cs (8)
158Context.ErrorSink.OnError( 336Context.ErrorSink.OnError( 557Context.ErrorSink.OnError( 573Context.ErrorSink.OnError( 693Context.ErrorSink.OnError( 819Context.ErrorSink.OnError( 974Context.ErrorSink.OnError( 1551Context.ErrorSink.OnError(
Language\Legacy\RazorParser.cs (1)
36var diagnostics = context.ErrorSink.GetErrorsAndClear();
Language\Legacy\TokenizerBackedParser.cs (3)
387Context.ErrorSink.OnError(diagnostic); 396Context.ErrorSink.OnError(diagnostic); 537Context.ErrorSink.OnError(error);