I am getting the error 'Index was outside the bounds of the array' exception occuring when trying to execute a fairly large expression.
I have tested the expression with entity framework 5 and it works as expected, however when upgrading to entityframework 6 rc 1 the exception is thrown.
I have attached a copy of the call stack when the exception is thrown, and the query i am trying to execute.
Comments: Note for triage: this is a bug in IndentedTextWriter that will manifest with SQL queries that have greater than about 32 levels of indentation.
I have tested the expression with entity framework 5 and it works as expected, however when upgrading to entityframework 6 rc 1 the exception is thrown.
I have attached a copy of the call stack when the exception is thrown, and the query i am trying to execute.
Comments: Note for triage: this is a bug in IndentedTextWriter that will manifest with SQL queries that have greater than about 32 levels of indentation.