3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
58public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2884public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
14117public LocalState Clone()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass.cs (30)
150SetConditionalState(State, State.Clone()); 406this.State = state.Clone(); 410this.StateWhenTrue = stateWhenTrue.Clone(); 411this.StateWhenFalse = stateWhenFalse.Clone(); 702_loopHeadState[node] = this.State.Clone(); 1231TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 1389savedState = this.State.Clone(); 1873var initialState = this.State.Clone(); 1879var finallyState = initialState.Clone(); 1883SetState(initialState.Clone()); 2735var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2783TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2817shortCircuitState = State.Clone(); 2952var breakState = this.State.Clone(); 3028savedState = State.Clone(); 3128stateWhenNotNull = this.State.Clone(); 3144stateWhenNotNull = this.State.Clone(); 3149var savedState = this.State.Clone(); 3198var savedState = this.State.Clone(); 3205savedState = this.State.Clone(); 3220var savedState = this.State.Clone(); 3225savedState = this.State.Clone(); 3429_labels[label] = this.State.Clone(); 3696TLocalState savedState = savedState = this.State.Clone(); 3812var savedState = this.State.Clone(); 3814leftState = this.State.Clone(); 3821var savedState = this.State.Clone(); 3823leftState = this.State.Clone(); 3914TLocalState 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());