Example #1
0
 public override void VisitDynamicInvocation(IDynamicInvocationOperation operation)
 {
     Assert.Equal(OperationKind.DynamicInvocation, operation.Kind);
     AssertEx.Equal(new[] { operation.Operation }.Concat(operation.Arguments), operation.Children);
 }
Example #2
0
 public override IOperation VisitDynamicInvocation(IDynamicInvocationOperation operation, object argument)
 {
     return(new DynamicInvocationExpression(Visit(operation.Operation), VisitArray(operation.Arguments), ((HasDynamicArgumentsExpression)operation).ArgumentNames, ((HasDynamicArgumentsExpression)operation).ArgumentRefKinds, ((Operation)operation).SemanticModel, operation.Syntax, operation.Type, operation.ConstantValue, operation.IsImplicit));
 }
Example #3
0
 public virtual void VisitDynamicInvocation(IDynamicInvocationOperation operation)
 {
     DefaultVisit(operation);
 }
Example #4
0
            public override PointsToAbstractValue VisitDynamicInvocation(IDynamicInvocationOperation operation, object argument)
            {
                var _ = base.VisitDynamicInvocation(operation, argument);

                return(VisitInvocationCommon(operation));
            }
Example #5
0
 public override void VisitDynamicInvocation([NotNull] IDynamicInvocationOperation operation)
 {
     base.VisitDynamicInvocation(operation);
 }
 public override void VisitDynamicInvocation([NotNull] IDynamicInvocationOperation operation)
 {
     Result.SetUnknown();
 }
Example #7
0
        public override void VisitDynamicInvocation(IDynamicInvocationOperation operation)
        {
            VisitDynamicArguments((HasDynamicArgumentsExpression)operation);

            base.VisitDynamicInvocation(operation);
        }
Example #8
0
 public override bool VisitDynamicInvocation([NotNull] IDynamicInvocationOperation operation1,
                                             [CanBeNull] IOperation argument)
 {
     return(argument is IDynamicInvocationOperation operation2 && AreBaseOperationsEqual(operation1, operation2));
 }
Example #9
0
            public override NullAbstractValue VisitDynamicInvocation(IDynamicInvocationOperation operation, object argument)
            {
                var _ = base.VisitDynamicInvocation(operation, argument);

                return(GetValueBasedOnInstanceOrReferenceValue(operation.Operation));
            }