3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
59public LocalState Clone()
FlowAnalysis\DefiniteAssignment.cs (1)
2950public LocalState Clone()
FlowAnalysis\NullableWalker.cs (1)
12689public 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(); 1826var initialState = this.State.Clone(); 1832var finallyState = initialState.Clone(); 1836SetState(initialState.Clone()); 2665var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.Clone(), StateWhenFalse.Clone()); 2713TLocalState? shortCircuitState = hasConditionalEvaluation ? State.Clone() : default; 2747shortCircuitState = State.Clone(); 2882var breakState = this.State.Clone(); 2958savedState = State.Clone(); 3058stateWhenNotNull = this.State.Clone(); 3074stateWhenNotNull = this.State.Clone(); 3079var savedState = this.State.Clone(); 3128var savedState = this.State.Clone(); 3135savedState = this.State.Clone(); 3150var savedState = this.State.Clone(); 3155savedState = this.State.Clone(); 3359_labels[label] = this.State.Clone(); 3626TLocalState savedState = savedState = this.State.Clone(); 3732var savedState = this.State.Clone(); 3734leftState = this.State.Clone(); 3741var savedState = this.State.Clone(); 3743leftState = this.State.Clone(); 3834TLocalState 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());