1 write to Path
Microsoft.CodeAnalysis.Features (1)
EditAndContinue\SourceFileSpan.cs (1)
42Path = path ?? throw new ArgumentNullException(nameof(path));
19 references to Path
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
EditAndContinue\EditAndContinueTestHelpers.cs (1)
427if (tree.FilePath != span.Path)
Microsoft.CodeAnalysis.Features (18)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
1299if (mappedLineSpan.HasMappedPath && mappedLineSpan.Path != oldStatement.Statement.FileSpan.Path)
EditAndContinue\ActiveStatement.cs (1)
66=> FileSpan.Path;
EditAndContinue\ActiveStatementsMap.cs (1)
149activeStatementInfo.DocumentName == region.OldSpan.Path)
EditAndContinue\EditAndContinueDocumentAnalysesCache.cs (1)
143var mappedFilePath = oldActiveStatement.Statement.FileSpan.Path;
EditAndContinue\EditSession.cs (4)
1179Debug.Assert(oldSpan.Path == newSpan.Path); 1266Debug.Assert(newSpan.Path == region.OldSpan.Path);
EditAndContinue\Extensions.cs (1)
19=> new(span.Path, span.Span.AddLineDelta(lineDelta));
EditAndContinue\SourceFileSpan.cs (9)
47=> new(Path, span); 56=> Path != null; // invalid span can be constructed by new FileLinePositionSpan() 71=> Span.Equals(other.Span) && string.Equals(Path, other.Path, StringComparison.Ordinal); 77=> Hash.Combine(Path, Span.GetHashCode()); 80=> string.IsNullOrEmpty(Path) ? Span.ToString() : $"{Path}: {Span}"; 92=> Span.Contains(span.Span) && string.Equals(Path, span.Path, StringComparison.Ordinal);