3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
59public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2748public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
11588public LocalState Clone()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass.cs (30)
151SetConditionalState(State, State.Clone()); 407this.State = state.Clone(); 411this.StateWhenTrue = stateWhenTrue.Clone(); 412this.StateWhenFalse = stateWhenFalse.Clone(); 695_loopHeadState[node] = this.State.Clone(); 1127TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 1285savedState = this.State.Clone(); 1678var initialState = this.State.Clone(); 1684var finallyState = initialState.Clone(); 1688SetState(initialState.Clone()); 2462var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2510TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2544shortCircuitState = State.Clone(); 2678var breakState = this.State.Clone(); 2755savedState = State.Clone(); 2855stateWhenNotNull = this.State.Clone(); 2871stateWhenNotNull = this.State.Clone(); 2876var savedState = this.State.Clone(); 2925var savedState = this.State.Clone(); 2932savedState = this.State.Clone(); 2947var savedState = this.State.Clone(); 2952savedState = this.State.Clone(); 3151_labels[label] = this.State.Clone(); 3418TLocalState savedState = savedState = this.State.Clone(); 3524var savedState = this.State.Clone(); 3526leftState = this.State.Clone(); 3533var savedState = this.State.Clone(); 3535leftState = this.State.Clone(); 3626TLocalState 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());