2 overrides of GetMappedLineSpan
Microsoft.CodeAnalysis.CSharp (1)
Syntax\CSharpSyntaxTree.cs (1)
665public override FileLinePositionSpan GetMappedLineSpan(TextSpan span, CancellationToken cancellationToken = default)
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\VisualBasicSyntaxTree.vb (1)
448Public Overrides Function GetMappedLineSpan(span As TextSpan, Optional cancellationToken As CancellationToken = Nothing) As FileLinePositionSpan
12 references to GetMappedLineSpan
Microsoft.CodeAnalysis (4)
Diagnostic\SourceLocation.cs (1)
105return _syntaxTree.GetMappedLineSpan(_span);
Syntax\SyntaxTree.cs (3)
271return GetMappedLineSpan(span); 286var mappedSpan = GetMappedLineSpan(span); 322return GetMappedLineSpan(span).StartLinePosition.Line + 1;
Microsoft.CodeAnalysis.CSharp (1)
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (1)
495return AddAnalysisPoint(syntaxForSpan, syntaxForSpan.SyntaxTree.GetMappedLineSpan(alternateSpan), statementFactory);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\LocationsTests.cs (1)
46var mappedSpan = syntaxTree.GetMappedLineSpan(span);
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
1336var mappedLineSpan = newTree.GetMappedLineSpan(newSpan, cancellationToken);
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
EditAndContinue\ActiveStatementsDescription.cs (2)
76newMappedSpans[ordinal] = newTree.GetMappedLineSpan(unmappedSpan); 107var mappedSpan = tree.GetMappedLineSpan(unmappedSpan);
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (1)
450Return AddAnalysisPoint(syntaxForSpan, syntaxForSpan.SyntaxTree.GetMappedLineSpan(alternateSpan), statementFactory)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
LocationTests.vb (1)
38Dim mappedSpan = syntaxTree.GetMappedLineSpan(span)
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\DiagnosticDataLocation.cs (1)
108tree.GetMappedLineSpan(newSourceSpan));