2 writes to _contextFile
Microsoft.CodeAnalysis (2)
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (2)
40
item.
_contextFile
= contextFile;
55
_contextFile
= null!;
4 references to _contextFile
Microsoft.CodeAnalysis (4)
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (4)
128
return
_contextFile
?.SourceTree != null &&
129
_contextFile
.Value.SourceTree == diagnostic.Location.SourceTree;
132
if (
_contextFile
?.AdditionalFile != null &&
135
return PathUtilities.Comparer.Equals(
_contextFile
.Value.AdditionalFile.Path, externalFileLocation.GetLineSpan().Path);