1 write to UnmappedFileSpan
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\DiagnosticDataLocation.cs (1)
64
UnmappedFileSpan
= unmappedFileSpan;
12 references to UnmappedFileSpan
Microsoft.CodeAnalysis.Features (5)
CodeFixes\Service\CodeFixService.cs (1)
274
spanToDiagnostics.MultiAdd(diagnostic.DataLocation.
UnmappedFileSpan
.GetClampedTextSpan(text), diagnostic);
Diagnostics\Service\DiagnosticAnalyzerService_GetDiagnosticsForSpan.cs (1)
270
if (range != null && !range.Value.IntersectsWith(diagnostic.DataLocation.
UnmappedFileSpan
.GetClampedTextSpan(text)))
Diagnostics\Service\DocumentAnalysisExecutor.cs (1)
150
return d.DocumentId is null || span.IntersectsWith(d.DataLocation.
UnmappedFileSpan
.GetClampedTextSpan(sourceText));
ExternalAccess\VSTypeScript\Api\VSTypeScriptDiagnosticData.cs (2)
42
return _data.DataLocation.
UnmappedFileSpan
.GetClampedSpan(sourceText);
46
=> _data.DataLocation.
UnmappedFileSpan
.GetClampedSpan(sourceText);
Microsoft.CodeAnalysis.Workspaces (7)
Diagnostics\DiagnosticData.cs (4)
130
DataLocation.
UnmappedFileSpan
.StartLinePosition == other.DataLocation.
UnmappedFileSpan
.StartLinePosition &&
143
=> Hash.Combine(DataLocation.
UnmappedFileSpan
.StartLinePosition.GetHashCode(),
154
=> $"{Id} {Severity} {Message} {ProjectId} {DataLocation.MappedFileSpan} [original: {DataLocation.
UnmappedFileSpan
}]";
Diagnostics\DiagnosticDataLocation.cs (2)
33
/// to <see cref="
UnmappedFileSpan
"/>. The <see cref="FileLinePositionSpan.Path"/> of this value will be the
101
/// cref="
UnmappedFileSpan
"/> and <see cref="MappedFileSpan"/> corresponding to the respection locations of
Diagnostics\Extensions.cs (1)
60
var span = dataLocation.
UnmappedFileSpan
.GetClampedTextSpan(text);