13 references to clauses
Microsoft.CodeAnalysis.CSharp (13)
Binder\Binder.IdentifierUsedAsValueFinder.cs (3)
342if (state.clauses.IsEmpty()) 357Debug.Assert(state.clauses.IsEmpty()); 400var topClause = state.clauses.Pop();
Binder\Binder.QueryTranslationState.cs (1)
134clauses.Clear();
Binder\Binder_Query.cs (9)
96state.clauses.Push(node.Body.Clauses[i]); 109Debug.Assert(state.clauses.IsEmpty()); 113state.clauses.Push(clauses[i]); 175if (!state.clauses.IsEmpty()) return false; 189if (state.clauses.IsEmpty()) 219Debug.Assert(state.clauses.IsEmpty()); 335var topClause = state.clauses.Pop(); 412if (state.clauses.IsEmpty() && state.selectOrGroup.Kind() == SyntaxKind.SelectClause) 599if (state.clauses.IsEmpty() && state.selectOrGroup.IsKind(SyntaxKind.SelectClause))