137 references to Create
Microsoft.CodeAnalysis.CSharp (137)
Compilation\MemberSemanticModel.cs (1)
1240IOperation operation = _operationFactory.Value.Create(highestBoundNode);
Operations\CSharpOperationFactory.cs (129)
353builder.AddIfNotNull((TOperation)Create(node)); 361(IBlockOperation?)Create(boundNode.BlockBody), 362(IBlockOperation?)Create(boundNode.ExpressionBody), 372Create(boundNode.Initializer), 373(IBlockOperation?)Create(boundNode.BlockBody), 374(IBlockOperation?)Create(boundNode.ExpressionBody), 396IOperation operation = Create(childNode); 437IOperation target = Create(boundDeconstructionAssignmentOperator.Left); 440IOperation value = Create(boundDeconstructionAssignmentOperator.Right.Operand); 491var pointer = Create(boundFunctionPointerInvocation.InvokedExpression); 499Create(boundUnconvertedAddressOf.Operand), 664IOperation handlerValue = Create(boundEventAssignmentOperator.Argument); 738IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundObjectCreationExpression.InitializerExpressionOpt); 753IOperation operand = Create(boundWithExpression.Receiver); 754IObjectOrCollectionInitializerOperation initializer = (IObjectOrCollectionInitializerOperation)Create(boundWithExpression.InitializerExpression); 764IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundDynamicObjectCreationExpression.InitializerExpressionOpt); 787return Create(receiver); 808return Create(boundDynamicIndexerAccess.Receiver); 985IOperation? instance = Create(receiver); 1006return Create(boundLambda); 1012IBlockOperation body = (IBlockOperation)Create(boundLambda.Body); 1020IBlockOperation? body = (IBlockOperation?)Create(boundLocalFunctionStatement.Body); 1022? (IBlockOperation?)Create(exprBody) 1089return Create(boundOperand); 1102return Create(boundOperand); 1148: Create(correctedConversionNode.Operand); 1156IOperation operand = Create(boundAsOperator.Operand); 1188IOperation value = Create(boundIsOperator.Operand); 1222IArrayInitializerOperation? arrayInitializer = (IArrayInitializerOperation?)Create(boundArrayCreation.InitializerOpt); 1312Create(Binder.GetUnderlyingCollectionExpressionElement(expr, (BoundExpression)element, throwOnErrors: false)); 1320var collection = Create(element.Expression); 1384IOperation target = Create(boundAssignmentOperator.Left); 1385IOperation value = Create(boundAssignmentOperator.Right); 1398IObjectOrCollectionInitializerOperation initializer = (IObjectOrCollectionInitializerOperation)Create(boundAssignmentOperator.Right); 1407IOperation target = Create(boundCompoundAssignmentOperator.Left); 1408IOperation value = Create(boundCompoundAssignmentOperator.Right); 1441IOperation target = Create(boundIncrementOperator.Operand); 1465IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundNewT.InitializerExpressionOpt); 1474IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(creation.InitializerExpressionOpt); 1484IOperation operand = Create(boundUnaryOperator.Operand); 1519left ??= Create(currentBinary.Left); 1520IOperation right = Create(currentBinary.Right); 1604IOperation left = Create(boundTupleBinaryOperator.Left); 1605IOperation right = Create(boundTupleBinaryOperator.Right); 1615IOperation condition = Create(boundConditionalOperator.Condition); 1616IOperation whenTrue = Create(boundConditionalOperator.Consequence); 1617IOperation whenFalse = Create(boundConditionalOperator.Alternative); 1628IOperation value = Create(boundNullCoalescingOperator.LeftOperand); 1629IOperation whenNull = Create(boundNullCoalescingOperator.RightOperand); 1647IOperation target = Create(boundNode.LeftOperand); 1648IOperation value = Create(boundNode.RightOperand); 1658IOperation awaitedValue = Create(boundAwaitExpression.Expression); 1667IOperation arrayReference = Create(boundArrayAccess.Expression); 1678IOperation instance = Create(boundIndexerAccess.Receiver); 1679IOperation argument = Create(boundIndexerAccess.Argument); 1700IOperation arrayReference = Create(boundInlineArrayAccess.Expression); 1701IOperation argument = Create(boundInlineArrayAccess.Argument); 1711IOperation argument = Create(boundNameOfOperator.Argument); 1721IOperation expression = Create(boundThrowExpression.Expression); 1730IOperation reference = Create(boundAddressOfOperator.Operand); 1748IOperation operation = Create(boundConditionalAccess.Receiver); 1749IOperation whenNotNull = Create(boundConditionalAccess.AccessExpression); 1768IOperation value = Create(boundFieldEqualsValue.Value); 1777IOperation value = Create(boundPropertyEqualsValue.Value); 1786IOperation value = Create(boundParameterEqualsValue.Value); 1860whenFalse = Create(alternative); 1869IOperation condition = Create(boundIfStatement.Condition); 1870IOperation whenTrue = Create(boundIfStatement.Consequence); 1887IOperation condition = Create(boundWhileStatement.Condition); 1888IOperation body = Create(boundWhileStatement.Body); 1901IOperation condition = Create(boundDoStatement.Condition); 1902IOperation body = Create(boundDoStatement.Body); 1916IOperation? condition = Create(boundForStatement.Condition); 1918IOperation body = Create(boundForStatement.Body); 1998return Create(boundForEachStatement.DeconstructionOpt.DeconstructionAssignment.Left); 2002return Create(boundForEachStatement.IterationErrorExpressionOpt); 2018IOperation collection = Create(boundForEachStatement.EnumeratorInfoOpt?.InlineArraySpanType is null or WellKnownType.Unknown || 2023IOperation body = Create(boundForEachStatement.Body); 2038var body = (IBlockOperation)Create(boundTryStatement.TryBlock); 2040var @finally = (IBlockOperation?)Create(boundTryStatement.FinallyBlockOpt); 2051IOperation? filter = Create(boundCatchBlock.ExceptionFilterOpt); 2052IBlockOperation handler = (IBlockOperation)Create(boundCatchBlock.Body); 2062IVariableDeclarationGroupOperation variables = (IVariableDeclarationGroupOperation)Create(boundFixedStatement.Declarations); 2063IOperation body = Create(boundFixedStatement.Body); 2074IOperation resources = Create(boundUsingStatement.DeclarationsOpt ?? (BoundNode)boundUsingStatement.ExpressionOpt!); 2075IOperation body = Create(boundUsingStatement.Body); 2090IOperation? thrownObject = Create(boundThrowStatement.ExpressionOpt); 2099IOperation? returnedValue = Create(boundReturnStatement.ExpressionOpt); 2107IOperation returnedValue = Create(boundYieldReturnStatement.Expression); 2122IOperation lockedValue = Create(boundLockStatement.Argument); 2123IOperation body = Create(boundLockStatement.Body); 2241IOperation labeledStatement = Create(boundLabeledStatement.Body); 2257IOperation expression = Create(boundExpressionStatement.Expression); 2323builder.Add((IInterpolatedStringContentOperation)Create(part)); 2406IOperation valueOperation = Create(value); 2407IOperation? alignmentOperation = Create(alignment); 2408IOperation? formatOperation = Create(format); 2442IOperation expression = Create(boundStringInsert.Value); 2443IOperation? alignment = Create(boundStringInsert.Alignment); 2444IOperation? formatString = Create(boundStringInsert.Format); 2463var construction = Create(interpolationData.Construction); 2505return new InterpolatedStringAppendOperation(@this.Create(part), operationKind, @this._semanticModel, part.Syntax, isImplicit: true); 2558IOperation value = Create(boundConstantPattern.Value); 2569IOperation value = Create(boundRelationalPattern.Value); 2598? deconstructions.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p.Pattern), this) 2619? subpatterns.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p.Pattern), this) 2651pattern: (IPatternOperation?)Create(boundNode.Pattern), 2664patterns: boundNode.Subpatterns.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p), this), 2676(IPatternOperation)Create(boundNegatedPattern.Negated), 2688return createOperation(this, boundBinaryPattern, left: (IPatternOperation)Create(boundBinaryPattern.Left)); 2702var result = (IPatternOperation)Create(current.Left); 2716(IPatternOperation)@this.Create(boundBinaryPattern.Right), 2727IOperation value = Create(boundSwitchStatement.Expression); 2747IOperation value = Create(boundSwitchExpression.Expression); 2773IPatternOperation pattern = (IPatternOperation)Create(boundSwitchExpressionArm.Pattern); 2774IOperation? guard = Create(boundSwitchExpressionArm.WhenClause); 2775IOperation value = Create(boundSwitchExpressionArm.Value); 2802return new SingleValueCaseClauseOperation(Create(cp.Value), label.GetPublicSymbol(), _semanticModel, syntax, isImplicit); 2806IPatternOperation pattern = (IPatternOperation)Create(boundSwitchLabel.Pattern); 2807IOperation? guard = Create(boundSwitchLabel.WhenClause); 2814IOperation value = Create(boundIsPatternExpression.Expression); 2815IPatternOperation pattern = (IPatternOperation)Create(boundIsPatternExpression.Pattern); 2827return Create(boundQueryClause.Value); 2830IOperation operation = Create(boundQueryClause.Value); 2840return Create(boundRangeVariable.Value); 2857Create(boundIndex.Operand), 2871IOperation? left = Create(boundRange.LeftOperandOpt); 2872IOperation? right = Create(boundRange.RightOperandOpt); 2899IPatternOperation pattern = (IPatternOperation)Create(subpattern.Pattern);
Operations\CSharpOperationFactory_Methods.cs (7)
39IOperation value = Create(expression is BoundConversion { IsParamsArrayOrCollection: true } conversion ? conversion.Operand : expression); 74IOperation value = Create(boundLocalDeclaration.InitializerOpt); 111return Create(instance); 157return Create(boundConversion.Operand); 175return Create(boundDelegateCreationExpression.Argument); 190return Create(initializedMember); 421IOperation value = Create(arguments[i]);