3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
59public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2923public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
12569public LocalState Clone()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass.cs (30)
151SetConditionalState(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(); 1819var initialState = this.State.Clone(); 1825var finallyState = initialState.Clone(); 1829SetState(initialState.Clone()); 2658var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2706TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2740shortCircuitState = State.Clone(); 2875var breakState = this.State.Clone(); 2951savedState = State.Clone(); 3051stateWhenNotNull = this.State.Clone(); 3067stateWhenNotNull = this.State.Clone(); 3072var savedState = this.State.Clone(); 3121var savedState = this.State.Clone(); 3128savedState = this.State.Clone(); 3143var savedState = this.State.Clone(); 3148savedState = this.State.Clone(); 3347_labels[label] = this.State.Clone(); 3614TLocalState savedState = savedState = this.State.Clone(); 3720var savedState = this.State.Clone(); 3722leftState = this.State.Clone(); 3729var savedState = this.State.Clone(); 3731leftState = this.State.Clone(); 3822TLocalState 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());