I found a bug when using a Where Expression when any of the properties is an enum.
I'm going to work to fix it.
_at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.AppendConstant(Expression node)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.AppendBinaryPart(Expression node, ExpressionType type)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.VisitBinary(BinaryExpression binary)
at System.Linq.Expressions.BinaryExpression.Accept(ExpressionVisitor visitor)
at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node)
at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.Translate(ITranslationResult result, MethodCallExpression method)
at WindowsAzure.Table.Queryable.Expressions.Methods.WhereTranslator.Translate(MethodCallExpression method, ITranslationResult result)
at WindowsAzure.Table.Queryable.Expressions.QueryTranslator.VisitMethodCall(MethodCallExpression methodCall, ITranslationResult result)
at WindowsAzure.Table.Queryable.Expressions.QueryTranslator.Translate(Expression expression, ITranslationResult result)
at WindowsAzure.Table.Queryable.TableQueryProvider1.Execute(Expression expression) at WindowsAzure.Table.Queryable.Base.Query1.GetEnumerator()
at System.Linq.AsyncEnumerable.AsyncEnumerableAdapter1.<MoveNextCore>d__5.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult()
at System.Linq.AsyncIteratorBase1.<MoveNextAsync>d__8.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Linq.AsyncIteratorBase1.d8.MoveNext() in
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()
at System.Linq.AsyncEnumerable.<gCore|291_0>d1.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Linq.AsyncEnumerable.<<TryGetFirst>g__Core|291_0>d1.MoveNext() in
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Threading.Tasks.ValueTask1.get_Result() at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable1.ConfiguredValueTaskAwaiter.GetResult()
at System.Linq.AsyncEnumerable.<gCore|287_0>d1.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask1.get_Result()
at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult()
at FisTech.Tests.Persistence.WindowsAzure.TableReadOnlyRepositoryTests.d12.MoveNext() in_
I found a bug when using a Where Expression when any of the properties is an enum.
I'm going to work to fix it.
_at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.AppendConstant(Expression node) at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.AppendBinaryPart(Expression node, ExpressionType type) at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.VisitBinary(BinaryExpression binary) at System.Linq.Expressions.BinaryExpression.Accept(ExpressionVisitor visitor) at System.Linq.Expressions.ExpressionVisitor.Visit(Expression node) at WindowsAzure.Table.Queryable.Expressions.Infrastructure.ExpressionTranslator.Translate(ITranslationResult result, MethodCallExpression method) at WindowsAzure.Table.Queryable.Expressions.Methods.WhereTranslator.Translate(MethodCallExpression method, ITranslationResult result) at WindowsAzure.Table.Queryable.Expressions.QueryTranslator.VisitMethodCall(MethodCallExpression methodCall, ITranslationResult result) at WindowsAzure.Table.Queryable.Expressions.QueryTranslator.Translate(Expression expression, ITranslationResult result) at WindowsAzure.Table.Queryable.TableQueryProviderd8.MoveNext() in
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult()
at System.Linq.AsyncEnumerable.<g Core|291_0>dgCore|287_0>dd 12.MoveNext() in_
1.Execute(Expression expression) at WindowsAzure.Table.Queryable.Base.Query
1.GetEnumerator() at System.Linq.AsyncEnumerable.AsyncEnumerableAdapter1.<MoveNextCore>d__5.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable
1.ConfiguredValueTaskAwaiter.GetResult() at System.Linq.AsyncIteratorBase1.<MoveNextAsync>d__8.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Linq.AsyncIteratorBase
1.1.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Linq.AsyncEnumerable.<<TryGetFirst>g__Core|291_0>d
1.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at System.Threading.Tasks.ValueTask1.get_Result() at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable
1.ConfiguredValueTaskAwaiter.GetResult() at System.Linq.AsyncEnumerable.<1.MoveNext() in at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.ValueTask
1.get_Result() at System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult() at FisTech.Tests.Persistence.WindowsAzure.TableReadOnlyRepositoryTests.