1 write to MappedSpan
Microsoft.CodeAnalysis (1)
Syntax\LineMapping.cs (1)
38
MappedSpan
= mappedSpan;
10 references to MappedSpan
Microsoft.CodeAnalysis (5)
Syntax\LineMapping.cs (5)
45
=> !
MappedSpan
.IsValid;
51
=> Span.Equals(other.Span) && CharacterOffset.Equals(other.CharacterOffset) &&
MappedSpan
.Equals(other.
MappedSpan
);
54
=> Hash.Combine(Hash.Combine(Span.GetHashCode(), CharacterOffset.GetHashCode()),
MappedSpan
.GetHashCode());
72
builder.Append(
MappedSpan
);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
Diagnostics\LocationsTests.cs (1)
77
return tree.GetLineMappings().Select(mapping => $"[|{text.GetSubText(text.Lines.GetTextSpan(mapping.Span))}|] -> {(mapping.IsHidden ? "<hidden>" : mapping.
MappedSpan
)}");
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\ActiveStatementsMap.cs (1)
207
var mappedSection = lineMapping.
MappedSpan
;
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (2)
161
var newLineMappingContainingActiveSpan = newLineMappings.FirstOrDefault(mapping => mapping.
MappedSpan
.Span.Contains(newMappedDocumentActiveSpan.LineSpan));
163
var unmappedSpan = newLineMappingContainingActiveSpan.
MappedSpan
.IsValid ? newLineMappingContainingActiveSpan.Span : default;
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
LocationTests.vb (1)
64
Return tree.GetLineMappings().Select(Function(mapping) $"[|{text.GetSubText(text.Lines.GetTextSpan(mapping.Span))}|] -> {If(mapping.IsHidden, "<hidden>", mapping.
MappedSpan
.ToString())}")