3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
59public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2923public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
12508public LocalState Clone()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass.cs (30)
151SetConditionalState(State, State.Clone()); 406this.State = state.Clone(); 410this.StateWhenTrue = stateWhenTrue.Clone(); 411this.StateWhenFalse = stateWhenFalse.Clone(); 702_loopHeadState[node] = this.State.Clone(); 1183TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 1341savedState = this.State.Clone(); 1819var initialState = this.State.Clone(); 1825var finallyState = initialState.Clone(); 1829SetState(initialState.Clone()); 2654var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2702TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2736shortCircuitState = State.Clone(); 2871var breakState = this.State.Clone(); 2947savedState = State.Clone(); 3047stateWhenNotNull = this.State.Clone(); 3063stateWhenNotNull = this.State.Clone(); 3068var savedState = this.State.Clone(); 3117var savedState = this.State.Clone(); 3124savedState = this.State.Clone(); 3139var savedState = this.State.Clone(); 3144savedState = this.State.Clone(); 3343_labels[label] = this.State.Clone(); 3610TLocalState savedState = savedState = this.State.Clone(); 3716var savedState = this.State.Clone(); 3718leftState = this.State.Clone(); 3725var savedState = this.State.Clone(); 3727leftState = this.State.Clone(); 3818TLocalState initialState = this.State.Clone();
FlowAnalysis\AbstractFlowPass_Switch.cs (4)
44TLocalState initialState = this.State.Clone(); 54SetState(initialState.Clone()); 134var state = this.State.Clone(); 163SetState(dispatchState.Clone());