3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
58public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2928public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
13328public 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()); 2686var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2734TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2768shortCircuitState = State.Clone(); 2903var breakState = this.State.Clone(); 2979savedState = State.Clone(); 3079stateWhenNotNull = this.State.Clone(); 3095stateWhenNotNull = this.State.Clone(); 3100var savedState = this.State.Clone(); 3149var savedState = this.State.Clone(); 3156savedState = this.State.Clone(); 3171var savedState = this.State.Clone(); 3176savedState = this.State.Clone(); 3380_labels[label] = this.State.Clone(); 3647TLocalState savedState = savedState = this.State.Clone(); 3753var savedState = this.State.Clone(); 3755leftState = this.State.Clone(); 3762var savedState = this.State.Clone(); 3764leftState = this.State.Clone(); 3855TLocalState 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());