112 references to Create
Microsoft.CodeAnalysis.VisualBasic (112)
Binding\MemberSemanticModel.vb (1)
853
Dim rootOperation As IOperation = _operationFactory.Value.
Create
(rootNode)
Operations\VisualBasicOperationFactory.vb (96)
234
Return
Create
(DirectCast(boundNode, BoundAnonymousTypeFieldInitializer).Value)
247
Return
Create
(DirectCast(boundNode, BoundQueryClause).UnderlyingExpression)
250
Return
Create
(DirectCast(boundNode, BoundQueryableSource).Source)
255
Return
Create
(DirectCast(boundNode, BoundOrdering).UnderlyingExpression)
258
Return
Create
(DirectCast(boundNode, BoundGroupAggregation).Group)
261
Return
Create
(DirectCast(boundNode, BoundQuerySource).Expression)
264
Return
Create
(DirectCast(boundNode, BoundToQueryableCollectionConversion).ConversionCall)
268
Return
Create
(rewrittenLambda)
271
Return
Create
(DirectCast(boundNode, BoundRangeVariableAssignment).Value)
273
Return
Create
(DirectCast(boundNode, BoundBadVariable).Expression)
334
builder.AddIfNotNull(DirectCast(
Create
(node), TOperation))
348
Dim operation =
Create
(childNode)
370
Dim target As IOperation =
Create
(boundAssignmentOperator.Left)
371
Dim value As IOperation =
Create
(boundAssignmentOperator.Right)
414
Dim awaitedValue As IOperation =
Create
(boundAwaitOperator.Operand)
422
Dim argument As IOperation =
Create
(boundNameOfOperator.Argument)
432
Dim body As IBlockOperation = DirectCast(
Create
(boundLambda.Body), IBlockOperation)
465
Dim operand As IOperation =
Create
(boundParenthesized.Expression)
474
Dim arrayReference as IOperation =
Create
(boundArrayAccess.Expression)
485
Return
Create
(DirectCast(boundOperator, BoundUnaryOperator).Operand)
489
Return
Create
(userDefined.Operand)
539
Create
(boundShortCircuiting.LeftOperand), ' Possibly dropping conversions https://github.com/dotnet/roslyn/issues/23236
564
left = If(left,
Create
(currentBinary.Left))
565
Dim right As IOperation =
Create
(currentBinary.Right)
597
Dim value As IOperation =
Create
(boundBinaryConditionalExpression.TestExpression)
598
Dim whenFalse As IOperation =
Create
(boundBinaryConditionalExpression.ElseExpression)
713
Return
Create
(boundConversion.Operand)
731
Return
Create
(boundOperand)
778
Dim condition As IOperation =
Create
(boundTernaryConditionalExpression.Condition)
779
Dim whenTrue As IOperation =
Create
(boundTernaryConditionalExpression.WhenTrue)
780
Dim whenFalse As IOperation =
Create
(boundTernaryConditionalExpression.WhenFalse)
790
Dim valueOperand =
Create
(boundTypeOf.Operand)
808
Dim operation As IOperation =
Create
(boundLateInvocation.Member)
821
Dim initializer As IObjectOrCollectionInitializerOperation = DirectCast(
Create
(boundObjectCreationExpression.InitializerOpt), IObjectOrCollectionInitializerOperation)
848
Dim initializer As IObjectOrCollectionInitializerOperation = DirectCast(
Create
(boundNewT.InitializerOpt), IObjectOrCollectionInitializerOperation)
856
Dim initializer As IObjectOrCollectionInitializerOperation = DirectCast(
Create
(creation.InitializerOpt), IObjectOrCollectionInitializerOperation)
865
Dim initializer As IArrayInitializerOperation = DirectCast(
Create
(boundArrayCreation.InitializerOpt), IArrayInitializerOperation)
932
Dim operation As IOperation =
Create
(boundConditionalAccess.Receiver)
933
Dim whenNotNull As IOperation =
Create
(boundConditionalAccess.AccessExpression)
968
Dim instance As IOperation =
Create
(boundLateMemberAccess.ReceiverOpt)
992
Dim value As IOperation =
Create
(boundFieldInitializer.InitialValue)
1000
Dim value As IOperation =
Create
(boundPropertyInitializer.InitialValue)
1008
Dim value As IOperation =
Create
(boundParameterEqualsValue.Value)
1018
Return
Create
(boundNode.UnderlyingLValue)
1061
Dim condition as IOperation =
Create
(boundIfStatement.Condition)
1062
Dim whenTrue as IOperation =
Create
(boundIfStatement.Consequence)
1063
Dim whenFalse as IOperation =
Create
(boundIfStatement.AlternativeOpt)
1074
Dim value As IOperation =
Create
(boundSelectStatement.ExpressionStatement.Expression)
1094
Return caseStatement.CaseClauses.SelectAsArray(Function(n) DirectCast(
Create
(n), ICaseClauseOperation))
1099
Return ImmutableArray.Create(
Create
(boundCaseBlock.Body))
1103
Return
Create
(boundCaseBlock.CaseStatement.ConditionOpt)
1108
Dim body As ImmutableArray(Of IOperation) = ImmutableArray.Create(
Create
(boundCaseBlock.Body))
1117
Dim clauseValue As IOperation =
Create
(GetSingleValueCaseClauseValue(boundSimpleCaseClause))
1124
Dim minimumValue As IOperation =
Create
(GetCaseClauseValue(boundRangeCaseClause.LowerBoundOpt, boundRangeCaseClause.LowerBoundConditionOpt))
1125
Dim maximumValue As IOperation =
Create
(GetCaseClauseValue(boundRangeCaseClause.UpperBoundOpt, boundRangeCaseClause.UpperBoundConditionOpt))
1133
Dim valueExpression As IOperation =
Create
(GetSingleValueCaseClauseValue(boundRelationalCaseClause))
1141
Dim condition As IOperation =
Create
(boundDoLoopStatement.ConditionOpt)
1142
Dim body As IOperation =
Create
(boundDoLoopStatement.Body)
1144
Create
(boundDoLoopStatement.BottomConditionOpt), Nothing)
1157
Dim initialValue As IOperation =
Create
(boundForToStatement.InitialValue)
1158
Dim limitValue As IOperation =
Create
(boundForToStatement.LimitValue)
1159
Dim stepValue As IOperation =
Create
(boundForToStatement.StepValue)
1160
Dim body As IOperation =
Create
(boundForToStatement.Body)
1181
userDefinedInfo = New ForToLoopOperationUserDefinedInfo(DirectCast(Operation.SetParentOperation(
Create
(operatorsOpt.Addition), Nothing), IBinaryOperation),
1182
DirectCast(Operation.SetParentOperation(
Create
(operatorsOpt.Subtraction), Nothing), IBinaryOperation),
1183
Operation.SetParentOperation(
Create
(operatorsOpt.LessThanOrEqual), Nothing),
1184
Operation.SetParentOperation(
Create
(operatorsOpt.GreaterThanOrEqual), Nothing))
1238
Dim collection As IOperation =
Create
(boundForEachStatement.Collection)
1242
Dim body As IOperation =
Create
(boundForEachStatement.Body)
1258
Create
(controlVariable))
1262
Dim body As IBlockOperation = DirectCast(
Create
(boundTryStatement.TryBlock), IBlockOperation)
1264
Dim [finally] As IBlockOperation = DirectCast(
Create
(boundTryStatement.FinallyBlockOpt), IBlockOperation)
1277
Return
Create
(boundCatchBlock.ExceptionSourceOpt)
1283
Dim filter As IOperation =
Create
(boundCatchBlock.ExceptionFilterOpt)
1284
Dim handler As IBlockOperation = DirectCast(
Create
(boundCatchBlock.Body), IBlockOperation)
1322
Dim returnedValue As IOperation =
Create
(boundReturnStatement.ExpressionOpt)
1334
Dim thrownObject As IOperation =
Create
(boundThrowStatement.ExpressionOpt)
1342
Dim condition As IOperation =
Create
(boundWhileStatement.Condition)
1343
Dim body As IOperation =
Create
(boundWhileStatement.Body)
1372
Dim returnedValue As IOperation =
Create
(boundYieldStatement.Expression)
1418
Dim lockedValue as IOperation =
Create
(boundSyncLockStatement.LockExpression)
1419
Dim body as IOperation =
Create
(boundSyncLockStatement.Body)
1446
Dim value As IOperation =
Create
(boundWithStatement.OriginalExpression)
1447
Dim body As IOperation =
Create
(boundWithStatement.Body)
1457
Return
Create
(boundUsingStatement.ResourceExpressionOpt)
1463
Dim body As IOperation =
Create
(boundUsingStatement.Body)
1471
Dim expression As IOperation =
Create
(boundExpressionStatement.Expression)
1571
builder.Add(DirectCast(
Create
(part), IInterpolatedStringContentOperation))
1580
Dim expression As IOperation =
Create
(boundInterpolation.Expression)
1581
Dim alignment As IOperation =
Create
(boundInterpolation.AlignmentOpt)
1582
Dim formatString As IOperation =
Create
(boundInterpolation.FormatStringOpt)
1625
Dim operation As IOperation =
Create
(boundQueryExpression.LastOperator)
1635
Return
Create
(boundAggregateClause.UnderlyingExpression)
1641
Dim group As IOperation =
Create
(boundAggregateClause.CapturedGroupOpt)
1642
Dim aggregation As IOperation =
Create
(boundAggregateClause.UnderlyingExpression)
1690
Dim operand As IOperation =
Create
(boundRedimClause.Operand)
Operations\VisualBasicOperationFactory_Methods.vb (15)
42
Return
Create
(operatorInfo.RightOperand)
88
Dim target As IOperation =
Create
(boundAssignment.Left)
149
Return
Create
(child)
257
Dim value =
Create
(valueNode)
289
Return
Create
(node)
293
Dim child =
Create
(GetChildOfBadExpressionBoundNode(parent, index))
320
Dim value As IOperation =
Create
(expression.Arguments(i))
431
Dim value =
Create
(last.InitializerOpt)
438
Dim initializerValue As IOperation =
Create
(asNewDeclarations.Initializer)
440
Dim value =
Create
(asNewDeclarations.Initializer)
459
Dim initializerValue As IOperation =
Create
(boundLocalDeclaration.IdentifierInitializerOpt)
477
Dim eventReference As IOperation =
Create
(statement.EventAccess)
478
Dim handlerValue As IOperation =
Create
(statement.Handler)
505
Return (
Create
(boundOperand), conversion, IsDelegateCreation:=False)
569
Return
Create
(operand)