1 implementation of IDynamicInvocationOperation
Microsoft.CodeAnalysis (1)
Operations\OperationNodes.cs (1)
332internal sealed partial class DynamicInvocationOperation : HasDynamicArgumentsExpression, IDynamicInvocationOperation
50 references to IDynamicInvocationOperation
ILLink.RoslynAnalyzer (1)
DataFlow\LocalDataFlowVisitor.cs (1)
186 public override TValue VisitDynamicInvocation (IDynamicInvocationOperation operation, LocalDataFlowState<TValue, TContext, TValueLattice, TContextLattice> state)
Microsoft.CodeAnalysis (16)
Generated\OperationKind.Generated.cs (2)
127[Obsolete("ICollectionElementInitializerOperation has been replaced with " + nameof(IInvocationOperation) + " and " + nameof(IDynamicInvocationOperation), error: true)] 137/// <summary>Indicates an <see cref="IDynamicInvocationOperation"/>.</summary>
Generated\Operations.Generated.cs (10)
1763/// <see cref="IInvocationOperation" /> and <see cref="IDynamicInvocationOperation" />, as appropriate. 1766/// None. This API has been obsoleted in favor of <see cref="IInvocationOperation" /> and <see cref="IDynamicInvocationOperation" />. 1777[Obsolete("ICollectionElementInitializerOperation has been replaced with " + nameof(IInvocationOperation) + " and " + nameof(IDynamicInvocationOperation), error: true)] 1916/// the doX objects are of type dynamic, we'll have 3 <see cref="IDynamicInvocationOperation" /> with do1, do2, and 1924/// Similar to the C# example, <c>New C() From {do1, do2, do3}</c> will generate 3 <see cref="IDynamicInvocationOperation" /> 3709/// This can be an <see cref="IInvocationOperation" /> or <see cref="IDynamicInvocationOperation" /> for valid code, and <see cref="IInvalidOperation" /> for invalid code. 11466[Obsolete("ICollectionElementInitializerOperation has been replaced with " + nameof(IInvocationOperation) + " and " + nameof(IDynamicInvocationOperation), error: true)] 11472public virtual void VisitDynamicInvocation(IDynamicInvocationOperation operation) => DefaultVisit(operation); 11605[Obsolete("ICollectionElementInitializerOperation has been replaced with " + nameof(IInvocationOperation) + " and " + nameof(IDynamicInvocationOperation), error: true)] 11611public virtual TResult? VisitDynamicInvocation(IDynamicInvocationOperation operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (1)
6608public override IOperation VisitDynamicInvocation(IDynamicInvocationOperation operation, int? captureIdForResult)
Operations\OperationCloner.cs (1)
35public override IOperation VisitDynamicInvocation(IDynamicInvocationOperation operation, object? argument)
Operations\OperationExtensions.cs (2)
188public static string? GetArgumentName(this IDynamicInvocationOperation dynamicOperation, int index) 256public static RefKind? GetArgumentRefKind(this IDynamicInvocationOperation dynamicOperation, int index)
Microsoft.CodeAnalysis.CSharp (2)
Operations\CSharpOperationFactory.cs (2)
776private IDynamicInvocationOperation CreateBoundDynamicInvocationExpressionOperation(BoundDynamicInvocation boundDynamicInvocation) 974private IDynamicInvocationOperation CreateBoundDynamicCollectionElementInitializerOperation(BoundDynamicCollectionElementInitializer boundCollectionElementInitializer)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (26)
Semantics\DynamicTests.cs (26)
4993var operation = (IDynamicInvocationOperation)model.GetOperation(call); 5117var operation = (IDynamicInvocationOperation)model.GetOperation(call); 5240var operation = (IDynamicInvocationOperation)model.GetOperation(call); 5483var operation = (IDynamicInvocationOperation)model.GetOperation(call); 5527var operation = (IDynamicInvocationOperation)model.GetOperation(call); 5704var operation = (IDynamicInvocationOperation)model.GetOperation(call); 5835var operation = (IDynamicInvocationOperation)model.GetOperation(call); 5880var operation = (IDynamicInvocationOperation)model.GetOperation(call); 11334var operation = (IDynamicInvocationOperation)model.GetOperation(call); 11387var operation = (IDynamicInvocationOperation)model.GetOperation(call); 11463var operation = (IDynamicInvocationOperation)model.GetOperation(call); 11507var operation = (IDynamicInvocationOperation)model.GetOperation(call); 11548var operation = (IDynamicInvocationOperation)model.GetOperation(call);
Microsoft.CodeAnalysis.Test.Utilities (4)
Compilation\OperationTreeVerifier.cs (2)
1477public override void VisitDynamicInvocation(IDynamicInvocationOperation operation) 1479LogString(nameof(IDynamicInvocationOperation));
Compilation\TestOperationVisitor.cs (2)
1072public override void VisitDynamicInvocation(IDynamicInvocationOperation operation) 1354Assert.True(operation.AppendCall is IInvocationOperation or IDynamicInvocationOperation or IInvalidOperation);
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\OperationTests.cs (1)
76IDynamicInvocationOperation nullDynamicExpression = null;