12 writes to _disableDiagnostics
Microsoft.CodeAnalysis.CSharp (12)
FlowAnalysis\NullableWalker.cs (12)
2190_disableDiagnostics = true; 2192_disableDiagnostics = previousDiagnostics; 3476_disableDiagnostics = true; 3479_disableDiagnostics = oldDisable; 4910_disableDiagnostics = true; 4917_disableDiagnostics = oldDisableDiagnostics; 6121_disableDiagnostics = true; 6139_disableDiagnostics = previousDisabledDiagnostics; 6887_disableDiagnostics |= node.HasErrors || defaultArguments[i]; 6901_disableDiagnostics = previousDisableDiagnostics; 7235_disableDiagnostics = defaultArguments[i] || previousDisableDiagnostics; 7245_disableDiagnostics = previousDisableDiagnostics;
11 references to _disableDiagnostics
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker.cs (10)
2189var previousDiagnostics = _disableDiagnostics; 2580if (IsReachable() && !_disableDiagnostics) 3475var oldDisable = _disableDiagnostics; 4909var oldDisableDiagnostics = _disableDiagnostics; 5984Debug.Assert(_returnTypesOpt is not null || _disableDiagnostics); 6114bool previousDisabledDiagnostics = _disableDiagnostics; 6886var previousDisableDiagnostics = _disableDiagnostics; 7231var previousDisableDiagnostics = _disableDiagnostics; 8005if (_disableDiagnostics) 8437if (!_disableDiagnostics)
FlowAnalysis\NullableWalker_Patterns.cs (1)
966Debug.Assert((node is BoundUnconvertedSwitchExpression && (_returnTypesOpt is not null || _disableDiagnostics))