Add IOperation support for query operations.
Implements the proposal discussed in https://github.com/dotnet/roslyn/issues/17838#issuecomment-318125250. 1. We will have an `IQueryExpression` representing the topmost query expression. 2. This will point to the last query clause (`IQueryClause`) or continuation (`IQueryContinuation`) in the unrolled lowered bound tree - we are not got going to reverse the tree to match source. 3. `IQueryClause` will have a `QueryClauseKind` field indicating the type of query clause, which should match the syntax/language specification query clause/operator kinds.
Showing
此差异已折叠。
此差异已折叠。
想要评论请 注册 或 登录