public void VisitUnknownNonExtensionExpression_Ignored() { var expression = new UnknownExpression(typeof(object)); var result = SubQueryFindingExpressionTreeVisitor.Process(expression, _methodInfoBasedNodeTypeRegistry); Assert.That(result, Is.SameAs(expression)); }
public void VisitUnknownNonExtensionExpression_Ignored() { var expression = new UnknownExpression(typeof(object)); var result = MultiReplacingExpressionTreeVisitor.Replace(_mapping, expression); Assert.That(result, Is.SameAs(expression)); }
public void VisitUnknownNonExtensionExpression_Ignored() { var expression = new UnknownExpression(typeof(object)); var result = PartialEvaluatingExpressionTreeVisitor.EvaluateIndependentSubtrees(expression); Assert.That(result, Is.SameAs(expression)); }
public void VisitUnknownNonExtensionExpression () { var expression = new UnknownExpression (typeof (object)); var result = FormattingExpressionTreeVisitor.Format (expression); Assert.That (result, Is.EqualTo("[-1]")); }
public void VisitUnknownNonExtensionExpression_Ignored() { var expression = new UnknownExpression(typeof(object)); var result = TransparentIdentifierRemovingExpressionTreeVisitor.ReplaceTransparentIdentifiers(expression); Assert.That(result, Is.SameAs(expression)); }
public void IsSupportedStandardExpression_False () { var extensionExpression = new TestExtensionExpression (Expression.Constant (0)); Assert.That (ExpressionTreeVisitor.IsSupportedStandardExpression (extensionExpression), Is.False); var unknownExpression = new UnknownExpression (typeof (int)); Assert.That (ExpressionTreeVisitor.IsSupportedStandardExpression (unknownExpression), Is.False); var querySourceReferenceExpression = new QuerySourceReferenceExpression (ExpressionHelper.CreateMainFromClause_Int()); Assert.That (ExpressionTreeVisitor.IsSupportedStandardExpression (querySourceReferenceExpression), Is.False); var subQueryExpression = new SubQueryExpression (ExpressionHelper.CreateQueryModel<Cook>()); Assert.That (ExpressionTreeVisitor.IsSupportedStandardExpression (subQueryExpression), Is.False); }
public void VisitUnknownNonExtensionExpression_Ignored () { var expression = new UnknownExpression (typeof (object)); var result = MultiReplacingExpressionTreeVisitor.Replace (_mapping, expression); Assert.That (result, Is.SameAs (expression)); }
public void VisitUnknownNonExtensionExpression_Ignored () { var expression = new UnknownExpression (typeof (object)); var result = TransparentIdentifierRemovingExpressionTreeVisitor.ReplaceTransparentIdentifiers(expression); Assert.That (result, Is.SameAs (expression)); }
public void VisitUnknownNonExtensionExpression_Ignored () { var expression = new UnknownExpression (typeof (object)); var result = PartialEvaluatingExpressionTreeVisitor.EvaluateIndependentSubtrees (expression); Assert.That (result, Is.SameAs (expression)); }
public void VisitUnknownNonExtensionExpression_Ignored () { var expression = new UnknownExpression (typeof (object)); var result = SubQueryFindingExpressionTreeVisitor.Process (expression, _methodInfoBasedNodeTypeRegistry); Assert.That (result, Is.SameAs (expression)); }
public void VisitUnknownNonExtensionExpression_Ignored () { var expression = new UnknownExpression (typeof (object)); var result = ReferenceReplacingExpressionTreeVisitor.ReplaceClauseReferences (expression, _querySourceMapping, true); Assert.That (result, Is.SameAs (expression)); }