3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
58
public LocalState
Clone
()
FlowAnalysis\DefiniteAssignment.cs (1)
2928
public LocalState
Clone
()
FlowAnalysis\NullableWalker.cs (1)
13328
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
();
1826
var initialState = this.State.
Clone
();
1832
var finallyState = initialState.
Clone
();
1836
SetState(initialState.
Clone
());
2686
var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.
Clone
(), StateWhenFalse.
Clone
());
2734
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
2768
shortCircuitState = State.
Clone
();
2903
var breakState = this.State.
Clone
();
2979
savedState = State.
Clone
();
3079
stateWhenNotNull = this.State.
Clone
();
3095
stateWhenNotNull = this.State.
Clone
();
3100
var savedState = this.State.
Clone
();
3149
var savedState = this.State.
Clone
();
3156
savedState = this.State.
Clone
();
3171
var savedState = this.State.
Clone
();
3176
savedState = this.State.
Clone
();
3380
_labels[label] = this.State.
Clone
();
3647
TLocalState savedState = savedState = this.State.
Clone
();
3753
var savedState = this.State.
Clone
();
3755
leftState = this.State.
Clone
();
3762
var savedState = this.State.
Clone
();
3764
leftState = this.State.
Clone
();
3855
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
());