7 references to GetErrorsAndClear
Microsoft.AspNetCore.Razor.Language.Legacy.UnitTests (1)
Legacy\TagHelperParseTreeRewriterTest.cs (1)
59Assert.Empty(errorSink.GetErrorsAndClear());
Microsoft.AspNetCore.Razor.Language.UnitTests (1)
Legacy\TagHelperParseTreeRewriterTest.cs (1)
59Assert.Empty(errorSink.GetErrorsAndClear());
Microsoft.AspNetCore.Razor.Test.Common (1)
Language\Legacy\ParserTestBase.cs (1)
228var diagnostics = context.ErrorSink.GetErrorsAndClear();
Microsoft.CodeAnalysis.Razor.Compiler (4)
Language\Legacy\CSharpCodeParser.cs (2)
1380[.. directiveErrorSink.GetErrorsAndClear()], 1933var diagnostics = directiveErrorSink.GetErrorsAndClear();
Language\Legacy\RazorParser.cs (1)
36var diagnostics = context.ErrorSink.GetErrorsAndClear();
Language\Legacy\TagHelperParseTreeRewriter.cs (1)
37var sinkDiagnostics = errorSink.GetErrorsAndClear();