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) 1114return Create(boundOperand); 1127return Create(boundOperand); 1173: Create(correctedConversionNode.Operand); 1181IOperation operand = Create(boundAsOperator.Operand); 1213IOperation value = Create(boundIsOperator.Operand); 1247IArrayInitializerOperation? arrayInitializer = (IArrayInitializerOperation?)Create(boundArrayCreation.InitializerOpt); 1337Create(Binder.GetUnderlyingCollectionExpressionElement(expr, (BoundExpression)element, throwOnErrors: false)); 1345var collection = Create(element.Expression); 1409IOperation target = Create(boundAssignmentOperator.Left); 1410IOperation value = Create(boundAssignmentOperator.Right); 1423IObjectOrCollectionInitializerOperation initializer = (IObjectOrCollectionInitializerOperation)Create(boundAssignmentOperator.Right); 1432IOperation target = Create(boundCompoundAssignmentOperator.Left); 1433IOperation value = Create(boundCompoundAssignmentOperator.Right); 1466IOperation target = Create(boundIncrementOperator.Operand); 1490IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundNewT.InitializerExpressionOpt); 1499IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(creation.InitializerExpressionOpt); 1509IOperation operand = Create(boundUnaryOperator.Operand); 1544left ??= Create(currentBinary.Left); 1545IOperation right = Create(currentBinary.Right); 1629IOperation left = Create(boundTupleBinaryOperator.Left); 1630IOperation right = Create(boundTupleBinaryOperator.Right); 1640IOperation condition = Create(boundConditionalOperator.Condition); 1641IOperation whenTrue = Create(boundConditionalOperator.Consequence); 1642IOperation whenFalse = Create(boundConditionalOperator.Alternative); 1653IOperation value = Create(boundNullCoalescingOperator.LeftOperand); 1654IOperation whenNull = Create(boundNullCoalescingOperator.RightOperand); 1672IOperation target = Create(boundNode.LeftOperand); 1673IOperation value = Create(boundNode.RightOperand); 1683IOperation awaitedValue = Create(boundAwaitExpression.Expression); 1692IOperation arrayReference = Create(boundArrayAccess.Expression); 1703IOperation instance = Create(boundIndexerAccess.Receiver); 1704IOperation argument = Create(boundIndexerAccess.Argument); 1725IOperation arrayReference = Create(boundInlineArrayAccess.Expression); 1726IOperation argument = Create(boundInlineArrayAccess.Argument); 1736IOperation argument = Create(boundNameOfOperator.Argument); 1746IOperation expression = Create(boundThrowExpression.Expression); 1755IOperation reference = Create(boundAddressOfOperator.Operand); 1773IOperation operation = Create(boundConditionalAccess.Receiver); 1774IOperation whenNotNull = Create(boundConditionalAccess.AccessExpression); 1793IOperation value = Create(boundFieldEqualsValue.Value); 1802IOperation value = Create(boundPropertyEqualsValue.Value); 1811IOperation value = Create(boundParameterEqualsValue.Value); 1885whenFalse = Create(alternative); 1894IOperation condition = Create(boundIfStatement.Condition); 1895IOperation whenTrue = Create(boundIfStatement.Consequence); 1912IOperation condition = Create(boundWhileStatement.Condition); 1913IOperation body = Create(boundWhileStatement.Body); 1926IOperation condition = Create(boundDoStatement.Condition); 1927IOperation body = Create(boundDoStatement.Body); 1941IOperation? condition = Create(boundForStatement.Condition); 1943IOperation body = Create(boundForStatement.Body); 2023return Create(boundForEachStatement.DeconstructionOpt.DeconstructionAssignment.Left); 2027return Create(boundForEachStatement.IterationErrorExpressionOpt); 2043IOperation collection = Create(boundForEachStatement.EnumeratorInfoOpt?.InlineArraySpanType is null or WellKnownType.Unknown || 2048IOperation body = Create(boundForEachStatement.Body); 2063var body = (IBlockOperation)Create(boundTryStatement.TryBlock); 2065var @finally = (IBlockOperation?)Create(boundTryStatement.FinallyBlockOpt); 2076IOperation? filter = Create(boundCatchBlock.ExceptionFilterOpt); 2077IBlockOperation handler = (IBlockOperation)Create(boundCatchBlock.Body); 2087IVariableDeclarationGroupOperation variables = (IVariableDeclarationGroupOperation)Create(boundFixedStatement.Declarations); 2088IOperation body = Create(boundFixedStatement.Body); 2099IOperation resources = Create(boundUsingStatement.DeclarationsOpt ?? (BoundNode)boundUsingStatement.ExpressionOpt!); 2100IOperation body = Create(boundUsingStatement.Body); 2115IOperation? thrownObject = Create(boundThrowStatement.ExpressionOpt); 2124IOperation? returnedValue = Create(boundReturnStatement.ExpressionOpt); 2132IOperation returnedValue = Create(boundYieldReturnStatement.Expression); 2147IOperation lockedValue = Create(boundLockStatement.Argument); 2148IOperation body = Create(boundLockStatement.Body); 2266IOperation labeledStatement = Create(boundLabeledStatement.Body); 2282IOperation expression = Create(boundExpressionStatement.Expression); 2348builder.Add((IInterpolatedStringContentOperation)Create(part)); 2431IOperation valueOperation = Create(value); 2432IOperation? alignmentOperation = Create(alignment); 2433IOperation? formatOperation = Create(format); 2467IOperation expression = Create(boundStringInsert.Value); 2468IOperation? alignment = Create(boundStringInsert.Alignment); 2469IOperation? formatString = Create(boundStringInsert.Format); 2488var construction = Create(interpolationData.Construction); 2530return new InterpolatedStringAppendOperation(@this.Create(part), operationKind, @this._semanticModel, part.Syntax, isImplicit: true); 2583IOperation value = Create(boundConstantPattern.Value); 2594IOperation value = Create(boundRelationalPattern.Value); 2623? deconstructions.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p.Pattern), this) 2644? subpatterns.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p.Pattern), this) 2676pattern: (IPatternOperation?)Create(boundNode.Pattern), 2689patterns: boundNode.Subpatterns.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p), this), 2701(IPatternOperation)Create(boundNegatedPattern.Negated), 2713return createOperation(this, boundBinaryPattern, left: (IPatternOperation)Create(boundBinaryPattern.Left)); 2727var result = (IPatternOperation)Create(current.Left); 2741(IPatternOperation)@this.Create(boundBinaryPattern.Right), 2752IOperation value = Create(boundSwitchStatement.Expression); 2772IOperation value = Create(boundSwitchExpression.Expression); 2798IPatternOperation pattern = (IPatternOperation)Create(boundSwitchExpressionArm.Pattern); 2799IOperation? guard = Create(boundSwitchExpressionArm.WhenClause); 2800IOperation value = Create(boundSwitchExpressionArm.Value); 2827return new SingleValueCaseClauseOperation(Create(cp.Value), label.GetPublicSymbol(), _semanticModel, syntax, isImplicit); 2831IPatternOperation pattern = (IPatternOperation)Create(boundSwitchLabel.Pattern); 2832IOperation? guard = Create(boundSwitchLabel.WhenClause); 2839IOperation value = Create(boundIsPatternExpression.Expression); 2840IPatternOperation pattern = (IPatternOperation)Create(boundIsPatternExpression.Pattern); 2852return Create(boundQueryClause.Value); 2855IOperation operation = Create(boundQueryClause.Value); 2865return Create(boundRangeVariable.Value); 2882Create(boundIndex.Operand), 2896IOperation? left = Create(boundRange.LeftOperandOpt); 2897IOperation? right = Create(boundRange.RightOperandOpt); 2924IPatternOperation 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]);