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