3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
58
public LocalState
Clone
()
FlowAnalysis\DefiniteAssignment.cs (1)
2936
public LocalState
Clone
()
FlowAnalysis\NullableWalker.cs (1)
13304
public LocalState
Clone
()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass.cs (30)
150
SetConditionalState(State, State.
Clone
());
405
this.State = state.
Clone
();
409
this.StateWhenTrue = stateWhenTrue.
Clone
();
410
this.StateWhenFalse = stateWhenFalse.
Clone
();
701
_loopHeadState[node] = this.State.
Clone
();
1182
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
1340
savedState = this.State.
Clone
();
1825
var initialState = this.State.
Clone
();
1831
var finallyState = initialState.
Clone
();
1835
SetState(initialState.
Clone
());
2685
var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.
Clone
(), StateWhenFalse.
Clone
());
2733
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
2767
shortCircuitState = State.
Clone
();
2902
var breakState = this.State.
Clone
();
2978
savedState = State.
Clone
();
3078
stateWhenNotNull = this.State.
Clone
();
3094
stateWhenNotNull = this.State.
Clone
();
3099
var savedState = this.State.
Clone
();
3148
var savedState = this.State.
Clone
();
3155
savedState = this.State.
Clone
();
3170
var savedState = this.State.
Clone
();
3175
savedState = this.State.
Clone
();
3379
_labels[label] = this.State.
Clone
();
3646
TLocalState savedState = savedState = this.State.
Clone
();
3752
var savedState = this.State.
Clone
();
3754
leftState = this.State.
Clone
();
3761
var savedState = this.State.
Clone
();
3763
leftState = this.State.
Clone
();
3854
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
());