2 writes to HasMappedPath
Microsoft.CodeAnalysis (2)
Diagnostic\FileLinePositionSpan.cs (2)
65HasMappedPath = false; 72HasMappedPath = hasMappedPath;
14 references to HasMappedPath
Microsoft.CodeAnalysis (10)
CodeGen\SequencePointList.cs (3)
124lastPathIsMapped = firstReal.Value.HasMappedPath; 168if (lastPath != fileLinePositionSpan.Path || lastPathIsMapped != fileLinePositionSpan.HasMappedPath) 171lastPathIsMapped = fileLinePositionSpan.HasMappedPath;
Diagnostic\DiagnosticFormatter.cs (1)
45if (mappedSpan.HasMappedPath)
Diagnostic\FileLinePositionSpan.cs (3)
101HasMappedPath == other.HasMappedPath && 118=> Hash.Combine(Path, Hash.Combine(HasMappedPath, Span.GetHashCode()));
Syntax\LineMapping.cs (2)
28/// If the line mapping directive maps the span into an explicitly specified file the <see cref="FileLinePositionSpan.HasMappedPath"/> is true. 29/// If the path is not mapped <see cref="FileLinePositionSpan.Path"/> is empty and <see cref="FileLinePositionSpan.HasMappedPath"/> is false.
Syntax\SyntaxTree.cs (1)
293return resolver.NormalizePath(mappedSpan.Path, baseFilePath: mappedSpan.HasMappedPath ? FilePath : null) ?? mappedSpan.Path;
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
1514if (mappedLineSpan.HasMappedPath && mappedLineSpan.Path != oldStatement.Statement.FileSpan.Path)
EditAndContinue\ActiveStatementsMap.cs (1)
211var targetPath = mappedSection.HasMappedPath ? mappedSection.Path : oldTree.FilePath;
EditAndContinue\SourceFileSpan.cs (1)
14/// An alternative for <see cref="FileLinePositionSpan"/> without <see cref="FileLinePositionSpan.HasMappedPath"/> bit.
Microsoft.CodeAnalysis.Workspaces (1)
Diagnostics\DiagnosticDataLocation.cs (1)
71(mappedSpan.HasMappedPath || forceMappedPath))