16 references to Path
Microsoft.CodeAnalysis.Features (16)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
1395
if (mappedLineSpan.HasMappedPath && mappedLineSpan.Path != oldStatement.Statement.FileSpan.
Path
)
EditAndContinue\ActiveStatement.cs (1)
64
=> FileSpan.
Path
;
EditAndContinue\ActiveStatementsMap.cs (1)
155
activeStatementInfo.DocumentName == region.OldSpan.
Path
)
EditAndContinue\EditSession.cs (3)
1352
Debug.Assert(string.Equals(oldSpan.
Path
, newSpan.
Path
,
1440
Debug.Assert(newSpan.Path == region.OldSpan.
Path
);
EditAndContinue\SourceFileSpan.cs (9)
41
=> new(
Path
, span);
50
=>
Path
!= null; // invalid span can be constructed by new SourceFileSpan()
65
=> Span.Equals(other.Span) && string.Equals(
Path
, other.
Path
, StringComparison.Ordinal);
71
=> Hash.Combine(
Path
, Span.GetHashCode());
74
=> string.IsNullOrEmpty(
Path
) ? Span.ToString() : $"{
Path
}: {Span}";
86
=> Span.Contains(span.Span) && string.Equals(
Path
, span.
Path
, StringComparison.Ordinal);
EditAndContinue\Utilities\Extensions.cs (1)
22
=> new(span.
Path
, span.Span.AddLineDelta(lineDelta));