1 write to Location
dotnet (1)
FileLevelDirectiveHelpers.cs (1)
612
Builder.Add(new SimpleDiagnostic {
Location
= new SimpleDiagnostic.Position() { Path = sourceFile.Path, TextSpan = textSpan, Span = sourceFile.GetFileLinePositionSpan(textSpan).Span }, Message = message });
2 references to Location
dotnet.Tests (2)
CommandTests\Project\Convert\DotnetProjectConvertTests.cs (2)
1678
Assert.All(actual, d => { Assert.Equal(programPath, d.
Location
.Path); });
1679
actual.Select(d => (d.
Location
.Span.Start.Line + 1, d.Message)).Should().BeEquivalentTo(expected);