3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
59
public LocalState
Clone
()
FlowAnalysis\DefiniteAssignment.cs (1)
2923
public LocalState
Clone
()
FlowAnalysis\NullableWalker.cs (1)
12508
public LocalState
Clone
()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass.cs (30)
151
SetConditionalState(State, State.
Clone
());
406
this.State = state.
Clone
();
410
this.StateWhenTrue = stateWhenTrue.
Clone
();
411
this.StateWhenFalse = stateWhenFalse.
Clone
();
702
_loopHeadState[node] = this.State.
Clone
();
1183
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
1341
savedState = this.State.
Clone
();
1819
var initialState = this.State.
Clone
();
1825
var finallyState = initialState.
Clone
();
1829
SetState(initialState.
Clone
());
2654
var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.
Clone
(), StateWhenFalse.
Clone
());
2702
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
2736
shortCircuitState = State.
Clone
();
2871
var breakState = this.State.
Clone
();
2947
savedState = State.
Clone
();
3047
stateWhenNotNull = this.State.
Clone
();
3063
stateWhenNotNull = this.State.
Clone
();
3068
var savedState = this.State.
Clone
();
3117
var savedState = this.State.
Clone
();
3124
savedState = this.State.
Clone
();
3139
var savedState = this.State.
Clone
();
3144
savedState = this.State.
Clone
();
3343
_labels[label] = this.State.
Clone
();
3610
TLocalState savedState = savedState = this.State.
Clone
();
3716
var savedState = this.State.
Clone
();
3718
leftState = this.State.
Clone
();
3725
var savedState = this.State.
Clone
();
3727
leftState = this.State.
Clone
();
3818
TLocalState initialState = this.State.
Clone
();
FlowAnalysis\AbstractFlowPass_Switch.cs (4)
44
TLocalState initialState = this.State.
Clone
();
54
SetState(initialState.
Clone
());
134
var state = this.State.
Clone
();
163
SetState(dispatchState.
Clone
());