3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
58public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2955public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
14344public LocalState Clone()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass_Switch.cs (4)
44TLocalState initialState = this.State.Clone(); 54SetState(initialState.Clone()); 134var state = this.State.Clone(); 163SetState(dispatchState.Clone());
FlowAnalysis\AbstractFlowPass.cs (30)
150SetConditionalState(State, State.Clone()); 406this.State = state.Clone(); 410this.StateWhenTrue = stateWhenTrue.Clone(); 411this.StateWhenFalse = stateWhenFalse.Clone(); 702_loopHeadState[node] = this.State.Clone(); 1183TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 1341savedState = this.State.Clone(); 1835var initialState = this.State.Clone(); 1841var finallyState = initialState.Clone(); 1845SetState(initialState.Clone()); 2697var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2745TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2779shortCircuitState = State.Clone(); 2914var breakState = this.State.Clone(); 2990savedState = State.Clone(); 3090stateWhenNotNull = this.State.Clone(); 3106stateWhenNotNull = this.State.Clone(); 3111var savedState = this.State.Clone(); 3160var savedState = this.State.Clone(); 3167savedState = this.State.Clone(); 3182var savedState = this.State.Clone(); 3187savedState = this.State.Clone(); 3391_labels[label] = this.State.Clone(); 3667TLocalState savedState = savedState = this.State.Clone(); 3783var savedState = this.State.Clone(); 3785leftState = this.State.Clone(); 3792var savedState = this.State.Clone(); 3794leftState = this.State.Clone(); 3885TLocalState initialState = this.State.Clone();