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)
286
var analyzerConfigPath =
_diagnostic
!= null
287
? _project.TryGetAnalyzerConfigPathForDiagnosticConfiguration(
_diagnostic
)
431
var diagnosticSourceTree =
_diagnostic
?.Location.SourceTree;
521
RoslynDebug.Assert(
_diagnostic
!= null);
528
foundMatch = string.Equals(diagId,
_diagnostic
.Id, StringComparison.OrdinalIgnoreCase);
615
var isLanguageAgnosticEntry = (
_diagnostic
== null || !SuppressionHelpers.IsCompilerDiagnostic(
_diagnostic
)) && _isPerLanguage;
691
:
_diagnostic
!= null
692
? $"{DiagnosticOptionPrefix}{
_diagnostic
.Id}{SeveritySuffix} = {_newSeverity}"
698
var commentPrefix =
_diagnostic
!= null
699
? $"{
_diagnostic
.Id}: {
_diagnostic
.Descriptor.Title}"
754
var compilerDiagOrNotPerLang = (
_diagnostic
!= null && SuppressionHelpers.IsCompilerDiagnostic(
_diagnostic
)) || !_isPerLanguage;