3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
58public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2883public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
13468public LocalState Clone()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass.cs (30)
150SetConditionalState(State, State.Clone()); 405this.State = state.Clone(); 409this.StateWhenTrue = stateWhenTrue.Clone(); 410this.StateWhenFalse = stateWhenFalse.Clone(); 701_loopHeadState[node] = this.State.Clone(); 1182TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 1340savedState = this.State.Clone(); 1826var initialState = this.State.Clone(); 1832var finallyState = initialState.Clone(); 1836SetState(initialState.Clone()); 2687var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2735TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2769shortCircuitState = State.Clone(); 2904var breakState = this.State.Clone(); 2980savedState = State.Clone(); 3080stateWhenNotNull = this.State.Clone(); 3096stateWhenNotNull = this.State.Clone(); 3101var savedState = this.State.Clone(); 3150var savedState = this.State.Clone(); 3157savedState = this.State.Clone(); 3172var savedState = this.State.Clone(); 3177savedState = this.State.Clone(); 3381_labels[label] = this.State.Clone(); 3648TLocalState savedState = savedState = this.State.Clone(); 3754var savedState = this.State.Clone(); 3756leftState = this.State.Clone(); 3763var savedState = this.State.Clone(); 3765leftState = this.State.Clone(); 3856TLocalState 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());