1 write to Location
dotnet (1)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
1968
Builder.Add(new SimpleDiagnostic {
Location
= sourceFile.GetFileLinePositionSpan(span), Message = message });
2 references to Location
dotnet.Tests (2)
CommandTests\Project\Convert\DotnetProjectConvertTests.cs (2)
1311
Assert.All(diagnostics, d => { Assert.Equal(programPath, d.
Location
.Path); });
1312
diagnostics.Select(d => (d.
Location
.Span.Start.Line + 1, d.Message)).Should().BeEquivalentTo(expectedErrors);