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)
2189
var previousDiagnostics =
_disableDiagnostics
;
2580
if (IsReachable() && !
_disableDiagnostics
)
3475
var oldDisable =
_disableDiagnostics
;
4909
var oldDisableDiagnostics =
_disableDiagnostics
;
5984
Debug.Assert(_returnTypesOpt is not null ||
_disableDiagnostics
);
6114
bool previousDisabledDiagnostics =
_disableDiagnostics
;
6886
var previousDisableDiagnostics =
_disableDiagnostics
;
7231
var previousDisableDiagnostics =
_disableDiagnostics
;
8005
if (
_disableDiagnostics
)
8437
if (!
_disableDiagnostics
)
FlowAnalysis\NullableWalker_Patterns.cs (1)
966
Debug.Assert((node is BoundUnconvertedSwitchExpression && (_returnTypesOpt is not null ||
_disableDiagnostics
))