I wrote this to help visualize what AST trees really looked like. It's a helper class that implements IOrderedQueryable<T> and does nothing but dump the AST passed to CreateQuery to XML. It's quick-and-dirty code but seems to work, hopefully someone finds it helpful since ASTs aren't really well documented yet. Linq.Utilities Source Code Example Test: QueryLogger < FileInfo > files = new QueryLogger < FileInfo >(Writer); var q = from file in files where file.Name == "test.bat"
Read More...