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