132 references to Create
Microsoft.CodeAnalysis.CSharp (132)
Compilation\MemberSemanticModel.cs (1)
1192IOperation operation = _operationFactory.Value.Create(highestBoundNode);
Operations\CSharpOperationFactory.cs (124)
343builder.AddIfNotNull((TOperation)Create(node)); 351(IBlockOperation?)Create(boundNode.BlockBody), 352(IBlockOperation?)Create(boundNode.ExpressionBody), 362Create(boundNode.Initializer), 363(IBlockOperation?)Create(boundNode.BlockBody), 364(IBlockOperation?)Create(boundNode.ExpressionBody), 386IOperation operation = Create(childNode); 427IOperation target = Create(boundDeconstructionAssignmentOperator.Left); 430IOperation value = Create(boundDeconstructionAssignmentOperator.Right.Operand); 481var pointer = Create(boundFunctionPointerInvocation.InvokedExpression); 489Create(boundUnconvertedAddressOf.Operand), 654IOperation handlerValue = Create(boundEventAssignmentOperator.Argument); 728IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundObjectCreationExpression.InitializerExpressionOpt); 735IOperation operand = Create(boundWithExpression.Receiver); 736IObjectOrCollectionInitializerOperation initializer = (IObjectOrCollectionInitializerOperation)Create(boundWithExpression.InitializerExpression); 746IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundDynamicObjectCreationExpression.InitializerExpressionOpt); 769return Create(receiver); 790return Create(boundDynamicIndexerAccess.Receiver); 964IOperation? instance = Create(receiver); 985return Create(boundLambda); 991IBlockOperation body = (IBlockOperation)Create(boundLambda.Body); 999IBlockOperation? body = (IBlockOperation?)Create(boundLocalFunctionStatement.Body); 1001? (IBlockOperation?)Create(exprBody) 1068return Create(boundOperand); 1081return Create(boundOperand); 1127: Create(correctedConversionNode.Operand); 1135IOperation operand = Create(boundAsOperator.Operand); 1167IOperation value = Create(boundIsOperator.Operand); 1201IArrayInitializerOperation? arrayInitializer = (IArrayInitializerOperation?)Create(boundArrayCreation.InitializerOpt); 1267IOperation target = Create(boundAssignmentOperator.Left); 1268IOperation value = Create(boundAssignmentOperator.Right); 1281IObjectOrCollectionInitializerOperation initializer = (IObjectOrCollectionInitializerOperation)Create(boundAssignmentOperator.Right); 1290IOperation target = Create(boundCompoundAssignmentOperator.Left); 1291IOperation value = Create(boundCompoundAssignmentOperator.Right); 1324IOperation target = Create(boundIncrementOperator.Operand); 1348IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(boundNewT.InitializerExpressionOpt); 1357IObjectOrCollectionInitializerOperation? initializer = (IObjectOrCollectionInitializerOperation?)Create(creation.InitializerExpressionOpt); 1367IOperation operand = Create(boundUnaryOperator.Operand); 1402left ??= Create(currentBinary.Left); 1403IOperation right = Create(currentBinary.Right); 1496IOperation left = Create(boundTupleBinaryOperator.Left); 1497IOperation right = Create(boundTupleBinaryOperator.Right); 1507IOperation condition = Create(boundConditionalOperator.Condition); 1508IOperation whenTrue = Create(boundConditionalOperator.Consequence); 1509IOperation whenFalse = Create(boundConditionalOperator.Alternative); 1520IOperation value = Create(boundNullCoalescingOperator.LeftOperand); 1521IOperation whenNull = Create(boundNullCoalescingOperator.RightOperand); 1539IOperation target = Create(boundNode.LeftOperand); 1540IOperation value = Create(boundNode.RightOperand); 1550IOperation awaitedValue = Create(boundAwaitExpression.Expression); 1559IOperation arrayReference = Create(boundArrayAccess.Expression); 1570IOperation instance = Create(boundIndexerAccess.Receiver); 1571IOperation argument = Create(boundIndexerAccess.Argument); 1592IOperation argument = Create(boundNameOfOperator.Argument); 1602IOperation expression = Create(boundThrowExpression.Expression); 1611IOperation reference = Create(boundAddressOfOperator.Operand); 1629IOperation operation = Create(boundConditionalAccess.Receiver); 1630IOperation whenNotNull = Create(boundConditionalAccess.AccessExpression); 1649IOperation value = Create(boundFieldEqualsValue.Value); 1658IOperation value = Create(boundPropertyEqualsValue.Value); 1667IOperation value = Create(boundParameterEqualsValue.Value); 1726IOperation condition = Create(boundIfStatement.Condition); 1727IOperation whenTrue = Create(boundIfStatement.Consequence); 1728IOperation? whenFalse = Create(boundIfStatement.AlternativeOpt); 1739IOperation condition = Create(boundWhileStatement.Condition); 1740IOperation body = Create(boundWhileStatement.Body); 1753IOperation condition = Create(boundDoStatement.Condition); 1754IOperation body = Create(boundDoStatement.Body); 1768IOperation? condition = Create(boundForStatement.Condition); 1770IOperation body = Create(boundForStatement.Body); 1850return Create(boundForEachStatement.DeconstructionOpt.DeconstructionAssignment.Left); 1854return Create(boundForEachStatement.IterationErrorExpressionOpt); 1869IOperation collection = Create(boundForEachStatement.Expression); 1871IOperation body = Create(boundForEachStatement.Body); 1886var body = (IBlockOperation)Create(boundTryStatement.TryBlock); 1888var @finally = (IBlockOperation?)Create(boundTryStatement.FinallyBlockOpt); 1899IOperation? filter = Create(boundCatchBlock.ExceptionFilterOpt); 1900IBlockOperation handler = (IBlockOperation)Create(boundCatchBlock.Body); 1910IVariableDeclarationGroupOperation variables = (IVariableDeclarationGroupOperation)Create(boundFixedStatement.Declarations); 1911IOperation body = Create(boundFixedStatement.Body); 1922IOperation resources = Create(boundUsingStatement.DeclarationsOpt ?? (BoundNode)boundUsingStatement.ExpressionOpt!); 1923IOperation body = Create(boundUsingStatement.Body); 1938IOperation? thrownObject = Create(boundThrowStatement.ExpressionOpt); 1947IOperation? returnedValue = Create(boundReturnStatement.ExpressionOpt); 1955IOperation returnedValue = Create(boundYieldReturnStatement.Expression); 1970IOperation lockedValue = Create(boundLockStatement.Argument); 1971IOperation body = Create(boundLockStatement.Body); 2089IOperation labeledStatement = Create(boundLabeledStatement.Body); 2105IOperation expression = Create(boundExpressionStatement.Expression); 2165builder.Add((IInterpolatedStringContentOperation)Create(part)); 2248IOperation valueOperation = Create(value); 2249IOperation? alignmentOperation = Create(alignment); 2250IOperation? formatOperation = Create(format); 2284IOperation expression = Create(boundStringInsert.Value); 2285IOperation? alignment = Create(boundStringInsert.Alignment); 2286IOperation? formatString = Create(boundStringInsert.Format); 2305var construction = Create(interpolationData.Construction); 2347return new InterpolatedStringAppendOperation(@this.Create(part), operationKind, @this._semanticModel, part.Syntax, isImplicit: true); 2400IOperation value = Create(boundConstantPattern.Value); 2411IOperation value = Create(boundRelationalPattern.Value); 2440? deconstructions.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p.Pattern), this) 2461? subpatterns.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p.Pattern), this) 2493pattern: (IPatternOperation?)Create(boundNode.Pattern), 2506patterns: boundNode.Subpatterns.SelectAsArray((p, fac) => (IPatternOperation)fac.Create(p), this), 2518(IPatternOperation)Create(boundNegatedPattern.Negated), 2530(IPatternOperation)Create(boundBinaryPattern.Left), 2531(IPatternOperation)Create(boundBinaryPattern.Right), 2541IOperation value = Create(boundSwitchStatement.Expression); 2561IOperation value = Create(boundSwitchExpression.Expression); 2587IPatternOperation pattern = (IPatternOperation)Create(boundSwitchExpressionArm.Pattern); 2588IOperation? guard = Create(boundSwitchExpressionArm.WhenClause); 2589IOperation value = Create(boundSwitchExpressionArm.Value); 2616return new SingleValueCaseClauseOperation(Create(cp.Value), label.GetPublicSymbol(), _semanticModel, syntax, isImplicit); 2620IPatternOperation pattern = (IPatternOperation)Create(boundSwitchLabel.Pattern); 2621IOperation? guard = Create(boundSwitchLabel.WhenClause); 2628IOperation value = Create(boundIsPatternExpression.Expression); 2629IPatternOperation pattern = (IPatternOperation)Create(boundIsPatternExpression.Pattern); 2641return Create(boundQueryClause.Value); 2644IOperation operation = Create(boundQueryClause.Value); 2654return Create(boundRangeVariable.Value); 2671Create(boundIndex.Operand), 2685IOperation? left = Create(boundRange.LeftOperandOpt); 2686IOperation? right = Create(boundRange.RightOperandOpt); 2713IPatternOperation pattern = (IPatternOperation)Create(subpattern.Pattern);
Operations\CSharpOperationFactory_Methods.cs (7)
39IOperation value = Create(expression); 74IOperation value = Create(boundLocalDeclaration.InitializerOpt); 111return Create(instance); 157return Create(boundConversion.Operand); 175return Create(boundDelegateCreationExpression.Argument); 190return Create(initializedMember); 341IOperation value = Create(arguments[i]);