3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
58
public LocalState
Clone
()
FlowAnalysis\DefiniteAssignment.cs (1)
2955
public LocalState
Clone
()
FlowAnalysis\NullableWalker.cs (1)
14344
public LocalState
Clone
()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
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
());
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
();
1183
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
1341
savedState = this.State.
Clone
();
1835
var initialState = this.State.
Clone
();
1841
var finallyState = initialState.
Clone
();
1845
SetState(initialState.
Clone
());
2697
var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.
Clone
(), StateWhenFalse.
Clone
());
2745
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
2779
shortCircuitState = State.
Clone
();
2914
var breakState = this.State.
Clone
();
2990
savedState = State.
Clone
();
3090
stateWhenNotNull = this.State.
Clone
();
3106
stateWhenNotNull = this.State.
Clone
();
3111
var savedState = this.State.
Clone
();
3160
var savedState = this.State.
Clone
();
3167
savedState = this.State.
Clone
();
3182
var savedState = this.State.
Clone
();
3187
savedState = this.State.
Clone
();
3391
_labels[label] = this.State.
Clone
();
3667
TLocalState savedState = savedState = this.State.
Clone
();
3783
var savedState = this.State.
Clone
();
3785
leftState = this.State.
Clone
();
3792
var savedState = this.State.
Clone
();
3794
leftState = this.State.
Clone
();
3885
TLocalState initialState = this.State.
Clone
();