Esempio n. 1
0
 public override void VisitTranslatedQuery(ITranslatedQueryOperation operation)
 {
     Assert.Equal(OperationKind.TranslatedQuery, operation.Kind);
     Assert.Same(operation.Operation, operation.Children.Single());
 }
Esempio n. 2
0
 public override IOperation VisitTranslatedQuery(ITranslatedQueryOperation operation, object argument)
 {
     return(new TranslatedQueryExpression(Visit(operation.Operation), ((Operation)operation).SemanticModel, operation.Syntax, operation.Type, operation.ConstantValue, operation.IsImplicit));
 }
Esempio n. 3
0
 public virtual void VisitTranslatedQuery(ITranslatedQueryOperation operation)
 {
     DefaultVisit(operation);
 }
Esempio n. 4
0
 public override void VisitTranslatedQuery([NotNull] ITranslatedQueryOperation operation)
 {
     base.VisitTranslatedQuery(operation);
 }
 public override TAbstractAnalysisValue VisitTranslatedQuery(ITranslatedQueryOperation operation, object argument)
 {
     return(Visit(operation.Operation, argument));
 }
 public override void VisitTranslatedQuery([NotNull] ITranslatedQueryOperation operation)
 {
     Result.CopyFrom(EvaluationResult.Query);
 }
Esempio n. 7
0
 public override bool VisitTranslatedQuery([NotNull] ITranslatedQueryOperation operation1,
                                           [CanBeNull] IOperation argument)
 {
     return(argument is ITranslatedQueryOperation operation2 && AreBaseOperationsEqual(operation1, operation2));
 }