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