12 writes to _disableDiagnostics
Microsoft.CodeAnalysis.CSharp (12)
FlowAnalysis\NullableWalker.cs (12)
2251_disableDiagnostics = true; 2253_disableDiagnostics = previousDiagnostics; 3537_disableDiagnostics = true; 3540_disableDiagnostics = oldDisable; 4971_disableDiagnostics = true; 4978_disableDiagnostics = oldDisableDiagnostics; 6182_disableDiagnostics = true; 6200_disableDiagnostics = previousDisabledDiagnostics; 6948_disableDiagnostics |= node.HasErrors || defaultArguments[i]; 6962_disableDiagnostics = previousDisableDiagnostics; 7296_disableDiagnostics = defaultArguments[i] || previousDisableDiagnostics; 7306_disableDiagnostics = previousDisableDiagnostics;
11 references to _disableDiagnostics
Microsoft.CodeAnalysis.CSharp (11)
FlowAnalysis\NullableWalker.cs (10)
2250var previousDiagnostics = _disableDiagnostics; 2641if (IsReachable() && !_disableDiagnostics) 3536var oldDisable = _disableDiagnostics; 4970var oldDisableDiagnostics = _disableDiagnostics; 6045Debug.Assert(_returnTypesOpt is not null || _disableDiagnostics); 6175bool previousDisabledDiagnostics = _disableDiagnostics; 6947var previousDisableDiagnostics = _disableDiagnostics; 7292var previousDisableDiagnostics = _disableDiagnostics; 8066if (_disableDiagnostics) 8498if (!_disableDiagnostics)
FlowAnalysis\NullableWalker_Patterns.cs (1)
966Debug.Assert((node is BoundUnconvertedSwitchExpression && (_returnTypesOpt is not null || _disableDiagnostics))