1 instantiation of OperationCloner
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
10787
private static readonly OperationCloner s_instance = new
OperationCloner
();
32 references to OperationCloner
Microsoft.CodeAnalysis (32)
Generated\Operations.Generated.cs (1)
10787
private static readonly
OperationCloner
s_instance = new OperationCloner();
Operations\ControlFlowGraphBuilder.cs (31)
2384
AddStatement(new FlowCaptureOperation(resultId, binOp.Syntax,
OperationCloner
.CloneOperation(capturedRight)));
2390
AddStatement(new FlowCaptureOperation(resultId, binOp.Syntax,
OperationCloner
.CloneOperation(capturedLeft)));
2523
IOperation resultFromLeft =
OperationCloner
.CloneOperation(capturedLeft);
2536
PushOperand(
OperationCloner
.CloneOperation(capturedLeft));
2594
condition = CallNullableMember(
OperationCloner
.CloneOperation(capturedLeft), SpecialMember.System_Nullable_T_GetValueOrDefault);
2619
AddStatement(new FlowCaptureOperation(resultId, binOp.Syntax,
OperationCloner
.CloneOperation(capturedLeft)));
2625
PushOperand(
OperationCloner
.CloneOperation(capturedLeft));
3000
IOperation capturedValue =
OperationCloner
.CloneOperation(testExpression);
3190
CallNullableMember(
OperationCloner
.CloneOperation(valueCapture), SpecialMember.System_Nullable_T_get_HasValue),
3231
target:
OperationCloner
.CloneOperation(locationCapture),
3252
AddStatement(new FlowCaptureOperation(resultCaptureId, operation.Syntax,
OperationCloner
.CloneOperation(valueCapture)));
3267
IOperation whenNullAssignment = new SimpleAssignmentOperation(isRef: false,
OperationCloner
.CloneOperation(locationCapture), whenNullValue, semanticModel: null,
3544
IOperation receiver =
OperationCloner
.CloneOperation(spilledTestExpression);
4136
IOperation condition = MakeIsNullOperation(
OperationCloner
.CloneOperation(resource));
4417
lockedValue =
OperationCloner
.CloneOperation(lockedValue);
4517
AddStatement(getLoopControlVariableAssignment(applyConversion(info?.CurrentConversion, getCurrent(
OperationCloner
.CloneOperation(enumerator)), info?.ElementType)));
4541
AddDisposingFinally(
OperationCloner
.CloneOperation(enumerator),
5062
_forToLoopBinaryOperatorLeftOperand =
OperationCloner
.CloneOperation(_forToLoopBinaryOperatorLeftOperand);
5063
_forToLoopBinaryOperatorRightOperand =
OperationCloner
.CloneOperation(_forToLoopBinaryOperatorRightOperand);
5213
OperationCloner
.CloneOperation(controlVariableReferenceforCondition),
5214
OperationCloner
.CloneOperation(limitReference),
5354
controlVariableReferenceForAssignment =
OperationCloner
.CloneOperation(PeekOperand());
5558
PushOperand(
OperationCloner
.CloneOperation(switchValue));
5607
PushOperand(
OperationCloner
.CloneOperation(switchValue));
6590
return
OperationCloner
.CloneOperation(_currentImplicitInstance.ImplicitInstance);
6979
return
OperationCloner
.CloneOperation(receiverCapture);
6992
return
OperationCloner
.CloneOperation(argumentCapture);
7151
OperationCloner
.CloneOperation(captured);
7395
return
OperationCloner
.CloneOperation(_currentSwitchOperationExpression);
7413
return
OperationCloner
.CloneOperation(_currentAggregationGroup);
7759
OperationCloner
.CloneOperation(capturedInput), visitedPattern, semanticModel: null,