186 references to Line
ConfigurationSchemaGenerator (1)
Microsoft.Analyzers.Local.Tests (1)
Microsoft.AspNetCore.Analyzer.Testing (3)
Microsoft.AspNetCore.Components.Analyzers.Tests (4)
Microsoft.AspNetCore.Components.SdkAnalyzers.Tests (4)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (1)
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
Microsoft.CodeAnalysis (26)
Microsoft.CodeAnalysis.CodeStyle (2)
Microsoft.CodeAnalysis.CodeStyle.Fixes (2)
Microsoft.CodeAnalysis.CSharp (10)
Microsoft.CodeAnalysis.CSharp.Features (2)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (18)
Diagnostics\LocationsTests.cs (14)
60Assert.Equal(expectedStartLine, mappedSpan.StartLinePosition.Line);
62Assert.Equal(expectedEndLine, mappedSpan.EndLinePosition.Line);
96Assert.Equal(2, flpsX.StartLinePosition.Line);
98Assert.Equal(2, flpsX.EndLinePosition.Line);
103Assert.Equal(19, flpsX.StartLinePosition.Line);
105Assert.Equal(19, flpsX.EndLinePosition.Line);
110Assert.Equal(2, flpsXToCloseBrace.StartLinePosition.Line);
112Assert.Equal(3, flpsXToCloseBrace.EndLinePosition.Line);
117Assert.Equal(19, flpsXToCloseBrace.StartLinePosition.Line);
119Assert.Equal(20, flpsXToCloseBrace.EndLinePosition.Line);
573Assert.Equal(0, lineSpan.StartLinePosition.Line);
575Assert.Equal(0, lineSpan.EndLinePosition.Line);
601Assert.Equal(0, lineSpan.StartLinePosition.Line);
603Assert.Equal(0, lineSpan.EndLinePosition.Line);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.EditorFeatures.Text (2)
Microsoft.CodeAnalysis.EditorFeatures.Wpf (4)
Microsoft.CodeAnalysis.Features (25)
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (2)
Microsoft.CodeAnalysis.Test.Utilities (12)
Microsoft.CodeAnalysis.UnitTests (7)
Microsoft.CodeAnalysis.VisualBasic (7)
Microsoft.CodeAnalysis.VisualBasic.Features (4)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (10)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Microsoft.CodeAnalysis.Workspaces (4)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.Gen.ComplianceReports (3)
Microsoft.VisualStudio.LanguageServices (17)
Diagnostics\VisualStudioVenusSpanMappingService.cs (7)
104if (!TryAdjustSpanIfNeededForVenus(documentId, originalLineInfo.StartLinePosition.Line, originalLineInfo.StartLinePosition.Character, out var startLineColumn))
107startLineColumn = new MappedSpan(originalLineInfo.StartLinePosition.Line, originalLineInfo.StartLinePosition.Character, mappedLineInfo.StartLinePosition.Line, mappedLineInfo.StartLinePosition.Character);
111if (!TryAdjustSpanIfNeededForVenus(documentId, originalLineInfo.EndLinePosition.Line, originalLineInfo.EndLinePosition.Character, out var endLineColumn))
114endLineColumn = new MappedSpan(originalLineInfo.EndLinePosition.Line, originalLineInfo.EndLinePosition.Character, mappedLineInfo.EndLinePosition.Line, mappedLineInfo.EndLinePosition.Character);
218return TryAdjustSpanIfNeededForVenus(documentId, adjustedPosition.Line, adjustedPosition.Character, out mappedSpan);