3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
59public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2935public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
12867public 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(); 1825var initialState = this.State.Clone(); 1831var finallyState = initialState.Clone(); 1835SetState(initialState.Clone()); 2664var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2712TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2746shortCircuitState = State.Clone(); 2881var breakState = this.State.Clone(); 2957savedState = State.Clone(); 3057stateWhenNotNull = this.State.Clone(); 3073stateWhenNotNull = this.State.Clone(); 3078var savedState = this.State.Clone(); 3127var savedState = this.State.Clone(); 3134savedState = this.State.Clone(); 3149var savedState = this.State.Clone(); 3154savedState = this.State.Clone(); 3358_labels[label] = this.State.Clone(); 3625TLocalState savedState = savedState = this.State.Clone(); 3731var savedState = this.State.Clone(); 3733leftState = this.State.Clone(); 3740var savedState = this.State.Clone(); 3742leftState = this.State.Clone(); 3833TLocalState 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());