10 instantiations of InvocationOperation
Microsoft.CodeAnalysis (10)
Generated\Operations.Generated.cs (1)
10904
return new
InvocationOperation
(internalOperation.TargetMethod, internalOperation.ConstrainedToType, Visit(internalOperation.Instance), internalOperation.IsVirtual, VisitArray(internalOperation.Arguments), internalOperation.OwningSemanticModel, internalOperation.Syntax, internalOperation.Type, internalOperation.IsImplicit);
Operations\ControlFlowGraphBuilder.cs (9)
3343
return new
InvocationOperation
(method, constrainedToType: null, value, isVirtual: false,
4189
var invocation = new
InvocationOperation
(method, constrainedToType: null, value, isVirtual: disposeMethod is (null or { IsVirtual: true } or { IsAbstract: true }),
4342
AddStatement(new
InvocationOperation
(enterMethod, constrainedToType: null, instance: null, isVirtual: false,
4370
AddStatement(new
InvocationOperation
(enterMethod, constrainedToType: null, instance: null, isVirtual: false,
4425
AddStatement(new
InvocationOperation
(exitMethod, constrainedToType: null, instance: null, isVirtual: false,
4704
return new
InvocationOperation
(method, constrainedToType: null, instanceOpt,
4833
return new
InvocationOperation
(method, constrainedToType: null, instance: null, isVirtual: false, builder.ToImmutableAndFree(),
5933
return new
InvocationOperation
(operation.TargetMethod, operation.ConstrainedToType, visitedInstance, operation.IsVirtual, visitedArguments, semanticModel: null, operation.Syntax,
7934
: new
InvocationOperation
(operation.CloneMethod, constrainedToType: null, visitedInstance,
7 references to InvocationOperation
Microsoft.CodeAnalysis (7)
Generated\Operations.Generated.cs (2)
10903
var
internalOperation = (
InvocationOperation
)operation;
Operations\ControlFlowGraphBuilder.cs (5)
4189
var
invocation = new InvocationOperation(method, constrainedToType: null, value, isVirtual: disposeMethod is (null or { IsVirtual: true } or { IsAbstract: true }),
4619
var
moveNext = makeInvocationDroppingInstanceForStaticMethods(info.MoveNextMethod, enumeratorRef, info.MoveNextArguments);
4695
InvocationOperation
makeInvocationDroppingInstanceForStaticMethods(IMethodSymbol method, IOperation instance, ImmutableArray<IArgumentOperation> arguments)
4700
InvocationOperation
makeInvocation(SyntaxNode syntax, IMethodSymbol method, IOperation? instanceOpt, ImmutableArray<IArgumentOperation> arguments)
6594
Debug.Assert(operation.Parent is
InvocationOperation
{ Parent: CollectionExpressionOperation ce } && ce.HasErrors(_compilation),