3 writes to _returnTypesOpt
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\NullableWalker.cs (3)
476
_returnTypesOpt
= returnTypesOpt;
3252
_returnTypesOpt
= null;
3326
_returnTypesOpt
= oldReturnTypes;
8 references to _returnTypesOpt
Microsoft.CodeAnalysis.CSharp (8)
FlowAnalysis\NullableWalker.cs (7)
580
if (
_returnTypesOpt
!= null)
582
_returnTypesOpt
.Clear();
2892
if (
_returnTypesOpt
== null &&
2921
if (
_returnTypesOpt
!= null)
2923
_returnTypesOpt
.Add((node, result.ToTypeWithAnnotations(compilation)));
3251
var oldReturnTypes =
_returnTypesOpt
;
5984
Debug.Assert(
_returnTypesOpt
is not null || _disableDiagnostics);
FlowAnalysis\NullableWalker_Patterns.cs (1)
966
Debug.Assert((node is BoundUnconvertedSwitchExpression && (
_returnTypesOpt
is not null || _disableDiagnostics))