1 write to _diagnostic
Microsoft.CodeAnalysis.Features (1)
CodeFixes\Configuration\ConfigurationUpdater.cs (1)
94_diagnostic = diagnosticToConfigure;
14 references to _diagnostic
Microsoft.CodeAnalysis.Features (14)
CodeFixes\Configuration\ConfigurationUpdater.cs (14)
286var analyzerConfigPath = _diagnostic != null 287? _project.TryGetAnalyzerConfigPathForDiagnosticConfiguration(_diagnostic) 431var diagnosticSourceTree = _diagnostic?.Location.SourceTree; 521RoslynDebug.Assert(_diagnostic != null); 528foundMatch = string.Equals(diagId, _diagnostic.Id, StringComparison.OrdinalIgnoreCase); 615var isLanguageAgnosticEntry = (_diagnostic == null || !SuppressionHelpers.IsCompilerDiagnostic(_diagnostic)) && _isPerLanguage; 691: _diagnostic != null 692? $"{DiagnosticOptionPrefix}{_diagnostic.Id}{SeveritySuffix} = {_newSeverity}" 698var commentPrefix = _diagnostic != null 699? $"{_diagnostic.Id}: {_diagnostic.Descriptor.Title}" 754var compilerDiagOrNotPerLang = (_diagnostic != null && SuppressionHelpers.IsCompilerDiagnostic(_diagnostic)) || !_isPerLanguage;