3 implementations of Clone
Microsoft.CodeAnalysis.CSharp (3)
FlowAnalysis\ControlFlowPass.cs (1)
59
public LocalState
Clone
()
FlowAnalysis\DefiniteAssignment.cs (1)
2748
public LocalState
Clone
()
FlowAnalysis\NullableWalker.cs (1)
11588
public LocalState
Clone
()
34 references to Clone
Microsoft.CodeAnalysis.CSharp (34)
FlowAnalysis\AbstractFlowPass.cs (30)
151
SetConditionalState(State, State.
Clone
());
407
this.State = state.
Clone
();
411
this.StateWhenTrue = stateWhenTrue.
Clone
();
412
this.StateWhenFalse = stateWhenFalse.
Clone
();
695
_loopHeadState[node] = this.State.
Clone
();
1127
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
1285
savedState = this.State.
Clone
();
1678
var initialState = this.State.
Clone
();
1684
var finallyState = initialState.
Clone
();
1688
SetState(initialState.
Clone
());
2462
var (stateWhenTrue, stateWhenFalse) = (StateWhenTrue.
Clone
(), StateWhenFalse.
Clone
());
2510
TLocalState? shortCircuitState = hasConditionalEvaluation ? State.
Clone
() : default;
2544
shortCircuitState = State.
Clone
();
2678
var breakState = this.State.
Clone
();
2755
savedState = State.
Clone
();
2855
stateWhenNotNull = this.State.
Clone
();
2871
stateWhenNotNull = this.State.
Clone
();
2876
var savedState = this.State.
Clone
();
2925
var savedState = this.State.
Clone
();
2932
savedState = this.State.
Clone
();
2947
var savedState = this.State.
Clone
();
2952
savedState = this.State.
Clone
();
3151
_labels[label] = this.State.
Clone
();
3418
TLocalState savedState = savedState = this.State.
Clone
();
3524
var savedState = this.State.
Clone
();
3526
leftState = this.State.
Clone
();
3533
var savedState = this.State.
Clone
();
3535
leftState = this.State.
Clone
();
3626
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
());