terrajobst / nquery

NQuery is a relational query engine written in C#. It allows you to execute a SELECT query against .NET objects.
MIT License
72 stars 20 forks source link

NQuery crashes process, causes Dr. Watson #1

Open terrajobst opened 9 years ago

terrajobst commented 9 years ago

Ported from CodePlex

Simplest repro:

var expression = new Expression<Type>("(1+1).GetType()");
expression.Evaluate();

Looks like there's a bug in the dynamic assembly generation that causes the hosting process to crash when trying to evaluate such an expression.

dallmair commented 7 years ago

Works fine in v.Next.