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)
2250
var previousDiagnostics =
_disableDiagnostics
;
2641
if (IsReachable() && !
_disableDiagnostics
)
3536
var oldDisable =
_disableDiagnostics
;
4970
var oldDisableDiagnostics =
_disableDiagnostics
;
6045
Debug.Assert(_returnTypesOpt is not null ||
_disableDiagnostics
);
6175
bool previousDisabledDiagnostics =
_disableDiagnostics
;
6947
var previousDisableDiagnostics =
_disableDiagnostics
;
7292
var previousDisableDiagnostics =
_disableDiagnostics
;
8066
if (
_disableDiagnostics
)
8498
if (!
_disableDiagnostics
)
FlowAnalysis\NullableWalker_Patterns.cs (1)
966
Debug.Assert((node is BoundUnconvertedSwitchExpression && (_returnTypesOpt is not null ||
_disableDiagnostics
))