59 references to Call
Microsoft.CodeAnalysis.CSharp (59)
Compiler\MethodBodySynthesizer.Lowered.cs (3)
98F.Call( 185F.Call( 387return F.Call(F.StaticCall(constructedEqualityComparer,
Lowering\AsyncRewriter\AsyncIteratorMethodToStateMachineRewriter.cs (2)
131return F.ExpressionStatement(F.Call(promiseField, _asyncIteratorInfo.SetResultMethod, F.Literal(result))); 183builder.Add(F.ExpressionStatement(F.Call(
Lowering\AsyncRewriter\AsyncMethodToStateMachineRewriter.cs (1)
289F.Call(
Lowering\AsyncRewriter\AsyncRewriter.AsyncIteratorRewriter.cs (6)
343F.Call(F.Field(F.This(), _promiseOfValueOrEndField), promise_GetStatus, versionLocal), 346thenClause: F.Return(F.New(valueTaskT_ctorValue, F.Call(F.Field(F.This(), _promiseOfValueOrEndField), promise_GetResult, versionLocal)))); 512F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetResult, F.Parameter(IValueTaskSourceOfBool_GetResult.Parameters[0])))); 537F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetStatus, F.Parameter(IValueTaskSourceOfBool_GetStatus.Parameters[0])))); 590F.ExpressionStatement(F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetResult, F.Parameter(IValueTaskSource_GetResult.Parameters[0]))), 614F.Call(F.InstanceField(_promiseOfValueOrEndField), promise_GetStatus, F.Parameter(IValueTaskSource_GetStatus.Parameters[0]))));
Lowering\LocalRewriter\LocalRewriter.PatternLocalRewriter.cs (1)
444return _factory.Call(null, sequenceEqual, input, _factory.Call(null, asSpan, _factory.StringLiteral(value)));
Lowering\LocalRewriter\LocalRewriter_CollectionExpression.cs (5)
883return _factory.Call(receiver: null, asSpanMethod, spreadExpression); 966sideEffects.Add(_factory.Call(spreadOperandAsSpan, copyToMethod.AsMember((NamedTypeSymbol)spreadOperandAsSpan.Type!), targetSlice)); 1058BoundLocal spanTemp = _factory.StoreToTemp(_factory.Call(receiver: null, asSpan, listTemp), out assignmentToTemp); 1090_factory.Call(spanTemp, spanGetItem, indexTemp), 1129_factory.Call(listTemp, addMethod, rewrittenValue));
Lowering\LocalRewriter\LocalRewriter_Conversion.cs (4)
642return _factory.Call(null, method, rewrittenOperand); 659rewrittenOperand = _factory.Call(null, implicitOperator, rewrittenOperand); 671return _factory.Call(null, castUpMethod, rewrittenOperand); 693return _factory.Call(null, method, rewrittenOperand);
Lowering\LocalRewriter\LocalRewriter_FixedStatement.cs (1)
359factory.Call(null, getPinnableMethod, callReceiver) :
Lowering\LocalRewriter\LocalRewriter_IndexerAccess.cs (4)
364return _factory.Call(null, elementRef, rewrittenReceiver, useStrictArgumentRefKinds: true); 394return _factory.Call(_factory.Call(null, createSpan, rewrittenReceiver, _factory.Literal(length), useStrictArgumentRefKinds: true), getItemOrSliceHelper, index); 1044F.Call( 1056F.Call(
Lowering\LocalRewriter\LocalRewriter_ObjectCreationExpression.cs (2)
403callGetTypeFromCLSID = _factory.Call(null, getTypeFromCLSID, newGuid); 415rewrittenObjectCreation = _factory.Convert(node.Type, _factory.Call(null, createInstance, callGetTypeFromCLSID));
Lowering\LocalRewriter\LocalRewriter_SwitchExpression.cs (1)
164var call = factory.Call(
Lowering\LocalRewriter\LoweredDynamicOperationFactory.cs (1)
653_factory.AssignmentExpression(callSiteFieldAccess, _factory.Call(null, callSiteFactoryMethod, binderConstruction)),
Lowering\SyntheticBoundNodeFactory.cs (1)
285return Call(receiverOpt, accessor, arg0);
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeSymbol.cs (4)
571f.Call( 583f.Call( 702f.Call( 714f.Call(
Symbols\Synthesized\Records\SynthesizedRecordBaseEquals.cs (1)
65var retExpr = F.Call(
Symbols\Synthesized\Records\SynthesizedRecordEqualityOperator.cs (2)
67expression = F.Call(left, equals, right); 73F.Call(left, equals, right));
Symbols\Synthesized\Records\SynthesizedRecordEquals.cs (1)
123retExpr = F.Call(
Symbols\Synthesized\Records\SynthesizedRecordObjEquals.cs (2)
63F.Call(F.This(), _typedRecordEquals, F.Convert(ContainingType, paramAccess))); 69expression = F.Call(F.This(), _typedRecordEquals, F.As(paramAccess, ContainingType));
Symbols\Synthesized\Records\SynthesizedRecordPrintMembers.cs (4)
164var basePrintCall = F.Call(receiver: F.Base(ContainingType.BaseTypeNoUseSiteDiagnostics), basePrintMethod, builder); 212F.Call(receiver: builder, 220F.Call(receiver: builder, 238return F.ExpressionStatement(F.Call(receiver: builder, F.WellKnownMethod(WellKnownMember.System_Text_StringBuilder__AppendString), F.StringLiteral(value)));
Symbols\Synthesized\Records\SynthesizedRecordToString.cs (3)
72block.Add(F.If(F.Call(F.This(), _printMethod, builderLocal), makeAppendChar(F, builderLocal, ' '))); 90return F.ExpressionStatement(F.Call(receiver: builder, F.WellKnownMethod(WellKnownMember.System_Text_StringBuilder__AppendString), F.StringLiteral(value))); 95return F.ExpressionStatement(F.Call(receiver: builder, F.WellKnownMethod(WellKnownMember.System_Text_StringBuilder__AppendChar), F.CharLiteral(value)));
Symbols\Synthesized\SynthesizedHotReloadExceptionConstructorSymbol.cs (1)
57factory.ExpressionStatement(factory.Call(
Symbols\Synthesized\SynthesizedInlineArrayAsReadOnlySpanMethod.cs (2)
32f.Call(null, 34f.Call(null,
Symbols\Synthesized\SynthesizedInlineArrayAsSpanMethod.cs (1)
32f.Call(null,
Symbols\Synthesized\SynthesizedInlineArrayElementRefMethod.cs (1)
34f.Call(null,
Symbols\Synthesized\SynthesizedInlineArrayElementRefReadOnlyMethod.cs (2)
34f.Call(null, 36f.Call(null,
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefMethod.cs (1)
31var body = f.Return(f.Call(null,
Symbols\Synthesized\SynthesizedInlineArrayFirstElementRefReadOnlyMethod.cs (2)
31var body = f.Return(f.Call(null, 33f.Call(null,