11 references to OldSpan
Microsoft.CodeAnalysis.Features (11)
EditAndContinue\ActiveStatementsMap.cs (2)
154
region.
OldSpan
.Span == activeSpan &&
155
activeStatementInfo.DocumentName == region.
OldSpan
.Path)
EditAndContinue\EditSession.cs (3)
1439
Debug.Assert(region.
OldSpan
.Span.End.Line - region.
OldSpan
.Span.Start.Line == baseSpan.Span.End.Line - baseSpan.Span.Start.Line);
1440
Debug.Assert(newSpan.Path == region.
OldSpan
.Path);
EditAndContinue\NonRemappableRegion.cs (6)
19
/// its active statement needs to be mapped from <see cref="
OldSpan
"/> in the old version
38
=>
OldSpan
.Equals(other.
OldSpan
) &&
43
=> Hash.Combine(
OldSpan
.GetHashCode(), Hash.Combine(IsExceptionRegion, NewSpan.GetHashCode()));
52
=> new(
OldSpan
, newSpan, IsExceptionRegion);
55
=> $"{(IsExceptionRegion ? "ER" : "AS")} {
OldSpan
} => {NewSpan.Span}";