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