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