137 references to Create
Microsoft.CodeAnalysis.CSharp (137)
Compilation\MemberSemanticModel.cs (1)
1240IOperation operation = _operationFactory.Value.Create(highestBoundNode);
Operations\CSharpOperationFactory.cs (129)
346builder.AddIfNotNull((TOperation)Create(node)); 354(IBlockOperation?)Create(boundNode.BlockBody), 355(IBlockOperation?)Create(boundNode.ExpressionBody), 365Create(boundNode.Initializer), 366(IBlockOperation?)Create(boundNode.BlockBody), 367(IBlockOperation?)Create(boundNode.ExpressionBody), 389IOperation operation = Create(childNode); 430IOperation target = Create(boundDeconstructionAssignmentOperator.Left); 433IOperation value = Create(boundDeconstructionAssignmentOperator.Right.Operand); 484var pointer = Create(boundFunctionPointerInvocation.InvokedExpression); 492Create(boundUnconvertedAddressOf.Operand), 657IOperation handlerValue = Create(boundEventAssignmentOperator.Argument); 731IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundObjectCreationExpression.InitializerExpressionOpt); 738IOperation operand = Create(boundWithExpression.Receiver); 739IObjectOrCollectionInitializerOperation initializer = (IObjectOrCollectionInitializerOperation)Create(boundWithExpression.InitializerExpression); 749IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundDynamicObjectCreationExpression.InitializerExpressionOpt); 772return Create(receiver); 793return Create(boundDynamicIndexerAccess.Receiver); 970IOperation? instance = Create(receiver); 991return Create(boundLambda); 997IBlockOperation body = (IBlockOperation)Create(boundLambda.Body); 1005IBlockOperation? body = (IBlockOperation?)Create(boundLocalFunctionStatement.Body); 1007? (IBlockOperation?)Create(exprBody) 1074return Create(boundOperand); 1087return Create(boundOperand); 1133: Create(correctedConversionNode.Operand); 1141IOperation operand = Create(boundAsOperator.Operand); 1173IOperation value = Create(boundIsOperator.Operand); 1207IArrayInitializerOperation? arrayInitializer = (IArrayInitializerOperation?)Create(boundArrayCreation.InitializerOpt); 1262Create(Binder.GetUnderlyingCollectionExpressionElement(expr, (BoundExpression)element, throwOnErrors: false)); 1270var collection = Create(element.Expression); 1334IOperation target = Create(boundAssignmentOperator.Left); 1335IOperation value = Create(boundAssignmentOperator.Right); 1348IObjectOrCollectionInitializerOperation initializer = (IObjectOrCollectionInitializerOperation)Create(boundAssignmentOperator.Right); 1357IOperation target = Create(boundCompoundAssignmentOperator.Left); 1358IOperation value = Create(boundCompoundAssignmentOperator.Right); 1391IOperation target = Create(boundIncrementOperator.Operand); 1415IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundNewT.InitializerExpressionOpt); 1424IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(creation.InitializerExpressionOpt); 1434IOperation operand = Create(boundUnaryOperator.Operand); 1469left ??= Create(currentBinary.Left); 1470IOperation right = Create(currentBinary.Right); 1554IOperation left = Create(boundTupleBinaryOperator.Left); 1555IOperation right = Create(boundTupleBinaryOperator.Right); 1565IOperation condition = Create(boundConditionalOperator.Condition); 1566IOperation whenTrue = Create(boundConditionalOperator.Consequence); 1567IOperation whenFalse = Create(boundConditionalOperator.Alternative); 1578IOperation value = Create(boundNullCoalescingOperator.LeftOperand); 1579IOperation whenNull = Create(boundNullCoalescingOperator.RightOperand); 1597IOperation target = Create(boundNode.LeftOperand); 1598IOperation value = Create(boundNode.RightOperand); 1608IOperation awaitedValue = Create(boundAwaitExpression.Expression); 1617IOperation arrayReference = Create(boundArrayAccess.Expression); 1628IOperation instance = Create(boundIndexerAccess.Receiver); 1629IOperation argument = Create(boundIndexerAccess.Argument); 1650IOperation arrayReference = Create(boundInlineArrayAccess.Expression); 1651IOperation argument = Create(boundInlineArrayAccess.Argument); 1661IOperation argument = Create(boundNameOfOperator.Argument); 1671IOperation expression = Create(boundThrowExpression.Expression); 1680IOperation reference = Create(boundAddressOfOperator.Operand); 1698IOperation operation = Create(boundConditionalAccess.Receiver); 1699IOperation whenNotNull = Create(boundConditionalAccess.AccessExpression); 1718IOperation value = Create(boundFieldEqualsValue.Value); 1727IOperation value = Create(boundPropertyEqualsValue.Value); 1736IOperation value = Create(boundParameterEqualsValue.Value); 1810whenFalse = Create(alternative); 1819IOperation condition = Create(boundIfStatement.Condition); 1820IOperation whenTrue = Create(boundIfStatement.Consequence); 1837IOperation condition = Create(boundWhileStatement.Condition); 1838IOperation body = Create(boundWhileStatement.Body); 1851IOperation condition = Create(boundDoStatement.Condition); 1852IOperation body = Create(boundDoStatement.Body); 1866IOperation? condition = Create(boundForStatement.Condition); 1868IOperation body = Create(boundForStatement.Body); 1948return Create(boundForEachStatement.DeconstructionOpt.DeconstructionAssignment.Left); 1952return Create(boundForEachStatement.IterationErrorExpressionOpt); 1968IOperation collection = Create(boundForEachStatement.EnumeratorInfoOpt?.InlineArraySpanType is null or WellKnownType.Unknown || 1973IOperation body = Create(boundForEachStatement.Body); 1988var body = (IBlockOperation)Create(boundTryStatement.TryBlock); 1990var @finally = (IBlockOperation?)Create(boundTryStatement.FinallyBlockOpt); 2001IOperation? filter = Create(boundCatchBlock.ExceptionFilterOpt); 2002IBlockOperation handler = (IBlockOperation)Create(boundCatchBlock.Body); 2012IVariableDeclarationGroupOperation variables = (IVariableDeclarationGroupOperation)Create(boundFixedStatement.Declarations); 2013IOperation body = Create(boundFixedStatement.Body); 2024IOperation resources = Create(boundUsingStatement.DeclarationsOpt ?? (BoundNode)boundUsingStatement.ExpressionOpt!); 2025IOperation body = Create(boundUsingStatement.Body); 2040IOperation? thrownObject = Create(boundThrowStatement.ExpressionOpt); 2049IOperation? returnedValue = Create(boundReturnStatement.ExpressionOpt); 2057IOperation returnedValue = Create(boundYieldReturnStatement.Expression); 2072IOperation lockedValue = Create(boundLockStatement.Argument); 2073IOperation body = Create(boundLockStatement.Body); 2191IOperation labeledStatement = Create(boundLabeledStatement.Body); 2207IOperation expression = Create(boundExpressionStatement.Expression); 2273builder.Add((IInterpolatedStringContentOperation)Create(part)); 2356IOperation valueOperation = Create(value); 2357IOperation? alignmentOperation = Create(alignment); 2358IOperation? formatOperation = Create(format); 2392IOperation expression = Create(boundStringInsert.Value); 2393IOperation? alignment = Create(boundStringInsert.Alignment); 2394IOperation? formatString = Create(boundStringInsert.Format); 2413var construction = Create(interpolationData.Construction); 2455return new InterpolatedStringAppendOperation(@this.Create(part), operationKind, @this._semanticModel, part.Syntax, isImplicit: true); 2508IOperation value = Create(boundConstantPattern.Value); 2519IOperation value = Create(boundRelationalPattern.Value); 2548? deconstructions.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p.Pattern), this) 2569? subpatterns.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p.Pattern), this) 2601pattern: (IPatternOperation?)Create(boundNode.Pattern), 2614patterns: boundNode.Subpatterns.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p), this), 2626(IPatternOperation)Create(boundNegatedPattern.Negated), 2638return createOperation(this, boundBinaryPattern, left: (IPatternOperation)Create(boundBinaryPattern.Left)); 2652var result = (IPatternOperation)Create(current.Left); 2666(IPatternOperation)@this.Create(boundBinaryPattern.Right), 2677IOperation value = Create(boundSwitchStatement.Expression); 2697IOperation value = Create(boundSwitchExpression.Expression); 2723IPatternOperation pattern = (IPatternOperation)Create(boundSwitchExpressionArm.Pattern); 2724IOperation? guard = Create(boundSwitchExpressionArm.WhenClause); 2725IOperation value = Create(boundSwitchExpressionArm.Value); 2752return new SingleValueCaseClauseOperation(Create(cp.Value), label.GetPublicSymbol(), _semanticModel, syntax, isImplicit); 2756IPatternOperation pattern = (IPatternOperation)Create(boundSwitchLabel.Pattern); 2757IOperation? guard = Create(boundSwitchLabel.WhenClause); 2764IOperation value = Create(boundIsPatternExpression.Expression); 2765IPatternOperation pattern = (IPatternOperation)Create(boundIsPatternExpression.Pattern); 2777return Create(boundQueryClause.Value); 2780IOperation operation = Create(boundQueryClause.Value); 2790return Create(boundRangeVariable.Value); 2807Create(boundIndex.Operand), 2821IOperation? left = Create(boundRange.LeftOperandOpt); 2822IOperation? right = Create(boundRange.RightOperandOpt); 2849IPatternOperation 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]);