2 writes to HasMappedPath
Microsoft.CodeAnalysis (2)
Diagnostic\FileLinePositionSpan.cs (2)
65
HasMappedPath
= false;
72
HasMappedPath
= hasMappedPath;
14 references to HasMappedPath
Microsoft.CodeAnalysis (10)
CodeGen\SequencePointList.cs (3)
124
lastPathIsMapped = firstReal.Value.
HasMappedPath
;
168
if (lastPath != fileLinePositionSpan.Path || lastPathIsMapped != fileLinePositionSpan.
HasMappedPath
)
171
lastPathIsMapped = fileLinePositionSpan.
HasMappedPath
;
Diagnostic\DiagnosticFormatter.cs (1)
45
if (mappedSpan.
HasMappedPath
)
Diagnostic\FileLinePositionSpan.cs (3)
101
HasMappedPath
== 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)
293
return resolver.NormalizePath(mappedSpan.Path, baseFilePath: mappedSpan.
HasMappedPath
? FilePath : null) ?? mappedSpan.Path;
Microsoft.CodeAnalysis.Features (3)
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
1514
if (mappedLineSpan.
HasMappedPath
&& mappedLineSpan.Path != oldStatement.Statement.FileSpan.Path)
EditAndContinue\ActiveStatementsMap.cs (1)
211
var 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))