3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
58public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2936public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
13304public 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()); 2685var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2733TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2767shortCircuitState = State.Clone(); 2902var breakState = this.State.Clone(); 2978savedState = State.Clone(); 3078stateWhenNotNull = this.State.Clone(); 3094stateWhenNotNull = this.State.Clone(); 3099var savedState = this.State.Clone(); 3148var savedState = this.State.Clone(); 3155savedState = this.State.Clone(); 3170var savedState = this.State.Clone(); 3175savedState = this.State.Clone(); 3379_labels[label] = this.State.Clone(); 3646TLocalState savedState = savedState = this.State.Clone(); 3752var savedState = this.State.Clone(); 3754leftState = this.State.Clone(); 3761var savedState = this.State.Clone(); 3763leftState = this.State.Clone(); 3854TLocalState 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());