2 overrides of GetMappedLineSpan
Microsoft.CodeAnalysis (2)
Diagnostic\ExternalFileLocation.cs (1)
46public override FileLinePositionSpan GetMappedLineSpan()
Diagnostic\SourceLocation.cs (1)
94public override FileLinePositionSpan GetMappedLineSpan()
22 references to GetMappedLineSpan
Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation (2)
CompilationFailedExceptionFactory.cs (2)
119var mappedLineSpan = diagnostic.Location.GetMappedLineSpan(); 153return diagnostic.Location.GetMappedLineSpan().Path;
Microsoft.CodeAnalysis (3)
CommandLine\SarifV1ErrorLogger.cs (1)
140FileLinePositionSpan span = location.GetMappedLineSpan();
CommandLine\SarifV2ErrorLogger.cs (1)
174FileLinePositionSpan span = diagnosticLocation.GetMappedLineSpan();
Diagnostic\DiagnosticFormatter.cs (1)
38var mappedSpan = diagnostic.Location.GetMappedLineSpan();
Microsoft.CodeAnalysis.CSharp (2)
Lowering\Instrumentation\CodeCoverageInstrumenter.cs (2)
478return GetSourceDocument(debugDocumentProvider, syntax, syntax.GetLocation().GetMappedLineSpan()); 500return AddAnalysisPoint(syntaxForSpan, syntaxForSpan.GetLocation().GetMappedLineSpan(), statementFactory);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Diagnostics\LocationsTests.cs (4)
101flpsX = locX.GetMappedLineSpan(); 115flpsXToCloseBrace = locXToCloseBrace.GetMappedLineSpan(); 534var mappedLineInfo = locationWithoutMapping.GetMappedLineSpan(); 544mappedLineInfo = locationWithMapping.GetMappedLineSpan();
LexicalAndXml\PreprocessorTests.cs (1)
3560var lineSpan = diagnostics.First().Location.GetMappedLineSpan();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
DiagnosticTestUtilities.cs (1)
115let lineSpan = e.Location.GetMappedLineSpan()
Microsoft.CodeAnalysis.EditorFeatures.Wpf (2)
Peek\DefinitionPeekableItem.cs (1)
99var declarationLocation = declaration.GetMappedLineSpan();
Peek\PeekHelpers.cs (1)
70return identifierLocation.SourceTree.GetLocation(node.Span).GetMappedLineSpan().Span;
Microsoft.CodeAnalysis.Test.Utilities (2)
Diagnostics\DiagnosticDescription.cs (2)
187_startPosition = _location.GetMappedLineSpan().StartLinePosition; 584return diagnostics.OrderBy(d => d.Location.GetMappedLineSpan().StartLinePosition, LinePositionComparer.Instance);
Microsoft.CodeAnalysis.VisualBasic (3)
Lowering\Instrumentation\CodeCoverageInstrumenter.vb (3)
94Return syntax.GetLocation().GetMappedLineSpan().IsValid 436Return GetSourceDocument(debugDocumentProvider, syntax, syntax.GetLocation().GetMappedLineSpan()) 454Return AddAnalysisPoint(syntaxForSpan, syntaxForSpan.GetLocation().GetMappedLineSpan(), statementFactory)
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\DiagnosticData.cs (1)
184mappedLineInfo = location.GetMappedLineSpan();
Microsoft.VisualStudio.LanguageServices (1)
Diagnostics\VisualStudioVenusSpanMappingService.cs (1)
35mappedLineInfo = location.GetMappedLineSpan();