3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
58
public LocalState
Clone
()
FlowAnalysis\DefiniteAssignment.cs (1)
2884
public LocalState
Clone
()
FlowAnalysis\NullableWalker.cs (1)
14117
public LocalState
Clone
()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass.cs (30)
150
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
();
1231
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
1389
savedState = this.State.
Clone
();
1873
var initialState = this.State.
Clone
();
1879
var finallyState = initialState.
Clone
();
1883
SetState(initialState.
Clone
());
2735
var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.
Clone
(), StateWhenFalse.
Clone
());
2783
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
2817
shortCircuitState = State.
Clone
();
2952
var breakState = this.State.
Clone
();
3028
savedState = State.
Clone
();
3128
stateWhenNotNull = this.State.
Clone
();
3144
stateWhenNotNull = this.State.
Clone
();
3149
var savedState = this.State.
Clone
();
3198
var savedState = this.State.
Clone
();
3205
savedState = this.State.
Clone
();
3220
var savedState = this.State.
Clone
();
3225
savedState = this.State.
Clone
();
3429
_labels[label] = this.State.
Clone
();
3696
TLocalState savedState = savedState = this.State.
Clone
();
3812
var savedState = this.State.
Clone
();
3814
leftState = this.State.
Clone
();
3821
var savedState = this.State.
Clone
();
3823
leftState = this.State.
Clone
();
3914
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
());