47 references to Call
Microsoft.CodeAnalysis.CSharp (47)
Compiler\AnonymousTypeMethodBodySynthesizer.cs (1)
265F.Call(new BoundConditionalReceiver(
Compiler\MethodBodySynthesizer.Lowered.cs (2)
114F.Call(F.Parameter(text), F.SpecialMethod(SpecialMember.System_String__Length))), 203F.Call(
Lowering\AsyncRewriter\AsyncExceptionHandlerRewriter.cs (1)
447_F.Call(
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (1)
175F.ExpressionStatement(F.Call(combinedTokens, F.WellKnownMethod(WellKnownMember.System_Threading_CancellationTokenSource__Dispose))),
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (2)
427: F.Call(receiver, methodSymbol); 458return F.Call(F.Local(awaiterTemp), getIsCompletedMethod);
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (4)
182bodyBuilder.Add(F.Assignment(F.InstanceField(instanceIdField), F.Call(receiver: null, getId))); 338var versionInit = F.Assignment(versionLocal, F.Call(F.Field(F.This(), _promiseOfValueOrEndField), promise_get_Version)); 381callReset = F.ExpressionStatement(F.Call(promiseField, resetMethod)); 456var returnStatement = F.Return(F.New(valueTask_ctor, F.This(), F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_get_Version)));
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
251F.Call(receiver: null, getId)));
Lowering\Instrumentation\LocalStateTracingInstrumenter.cs (2)
349_factory.ExpressionStatement(_factory.Call(receiver: _factory.Local(_scope.ContextVariable), returnLogger)) : _factory.NoOp(NoOpStatementFlavor.Default); 476toString = _factory.Call(value, toStringMethod);
Lowering\IteratorRewriter\IteratorMethodToStateMachineRewriter.cs (4)
147var faultBlock = F.Block(F.ExpressionStatement(F.Call(F.This(), disposeMethod))); 281F.Block(F.ExpressionStatement(F.Call(F.This(), frame.handler)))); 431bodyStatements.Add(F.ExpressionStatement(F.Call(F.This(), finallyMethod))); 449bodyStatements.Add(F.ExpressionStatement(F.Call(F.This(), finallyMethod)));
Lowering\IteratorRewriter\IteratorRewriter.cs (2)
266F.CloseMethod(F.Return(F.Call(F.This(), getEnumeratorGeneric))); 293bodyBuilder.Add(F.Assignment(F.InstanceField(instanceIdField), F.Call(receiver: null, getId)));
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
223evaluated = _factory.Call(input, getValueOrDefault);
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (5)
320array = _factory.Call(list, listToArray); 671return _factory.Call(rewrittenSpreadExpression, listToArrayMethod.AsMember((NamedTypeSymbol)spreadExpression.Type!)); 695return _factory.Call(rewrittenSpreadExpression, toArrayMethod.AsMember((NamedTypeSymbol)rewrittenSpreadExpression.Type!)); 932return _factory.Call(spreadExpression, asSpanMethod); 1009var spreadLength = _factory.Call(spreadOperandAsSpan, getLengthMethod.AsMember((NamedTypeSymbol)spreadOperandAsSpan.Type!));
Lowering\LocalRewriter\LocalRewriter_Event.cs (1)
283return _factory.Call(getOrCreateCall, invocationListAccessor);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (3)
360factory.Call(callReceiver, getPinnableMethod); 479helperCall = factory.Call(receiver: null, method: offsetMethod); 540lengthCall = factory.Call(factory.Local(pinnedTemp), lengthMethod);
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (2)
1045F.Call(rangeLocal, F.WellKnownMethod(WellKnownMember.System_Range__get_Start)), 1057F.Call(rangeLocal, F.WellKnownMethod(WellKnownMember.System_Range__get_End)),
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (1)
188_factory.Call(
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (2)
179var call = factory.Call( 193var call = factory.Call(
Lowering\SpillSequenceSpiller.cs (1)
1298condition = _F.Call(receiver, hasValueOpt);
Lowering\StateMachineRewriter\StateMachineRewriter.cs (1)
392return F.Call(null, currentManagedThreadIdMethod);
Lowering\SyntheticBoundNodeFactory.cs (4)
277return Call(receiverOpt, accessor); 1189return new BoundExpressionStatement(Syntax, Call(Base(baseType), ctor)) { WasCompilerGenerated = true }; 1513return this.Call(arg, this.SpecialMethod(CodeAnalysis.SpecialMember.System_Nullable_T_get_Value).AsMember((NamedTypeSymbol)arg.Type)); 1539return Call(null, arrayEmpty);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListConstructor.cs (1)
35f.ExpressionStatement(f.Call(f.This(), baseConstructor)),
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListEnumeratorConstructor.cs (1)
35f.ExpressionStatement(f.Call(f.This(), baseConstructor)),
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (1)
487f.Call(
Symbols\Synthesized\Records\SynthesizedRecordGetHashCode.cs (1)
88currentHashValue = F.Call(F.Base(overridden.ContainingType), overridden);
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (1)
150F.Call(receiver: null, ensureStackMethod)));
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (1)
78block.Add(F.Return(F.Call(builderLocal, F.SpecialMethod(SpecialMember.System_Object__ToString))));