Base:
method
UnreachableState
Microsoft.CodeAnalysis.CSharp.AbstractFlowPass<TLocalState, TLocalFunctionState>.UnreachableState()
7 references to UnreachableState
Microsoft.CodeAnalysis.CSharp (7)
FlowAnalysis\NullableWalker_Patterns.cs (7)
305
var labelResult = labelStateMap.TryGetValue(label.Label, out var s1) ? s1 : (state:
UnreachableState
(), believedReachable: false);
311
var afterSwitchState = labelStateMap.TryGetValue(node.BreakLabel, out var stateAndReachable) ? stateAndReachable.state :
UnreachableState
();
319
SetState(
UnreachableState
());
893
var endState =
UnreachableState
();
1045
=> !arm.Pattern.HasErrors && labelStateMap.TryGetValue(arm.Label, out var labelState) ? labelState.state :
UnreachableState
();
1061
var trueState = labelStateMap.TryGetValue(node.IsNegated ? node.WhenFalseLabel : node.WhenTrueLabel, out var s1) ? s1.state :
UnreachableState
();
1062
var falseState = labelStateMap.TryGetValue(node.IsNegated ? node.WhenTrueLabel : node.WhenFalseLabel, out var s2) ? s2.state :
UnreachableState
();