3 references to ThrowOnFirst
dotnet (2)
Commands\Project\Convert\ProjectConvertCommand.cs (1)
34
var directives = FileLevelDirectiveHelpers.FindDirectives(sourceFile, reportAllErrors: !_force, DiagnosticBag.
ThrowOnFirst
());
Commands\Run\VirtualProjectBuildingCommand.cs (1)
175
field = FileLevelDirectiveHelpers.FindDirectives(sourceFile, reportAllErrors: false, DiagnosticBag.
ThrowOnFirst
());
dotnet.Tests (1)
CommandTests\Project\Convert\DotnetProjectConvertTests.cs (1)
1632
var diagnosticBag = collectDiagnostics ? DiagnosticBag.Collect(out actualDiagnostics) : DiagnosticBag.
ThrowOnFirst
();