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