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)
580if (_returnTypesOpt != null) 582_returnTypesOpt.Clear(); 2892if (_returnTypesOpt == null && 2921if (_returnTypesOpt != null) 2923_returnTypesOpt.Add((node, result.ToTypeWithAnnotations(compilation))); 3251var oldReturnTypes = _returnTypesOpt; 5984Debug.Assert(_returnTypesOpt is not null || _disableDiagnostics);
FlowAnalysis\NullableWalker_Patterns.cs (1)
966Debug.Assert((node is BoundUnconvertedSwitchExpression && (_returnTypesOpt is not null || _disableDiagnostics))