public static bool TryPop <T>( this ArrayBuilder <T> builder, [MaybeNullWhen(false)] out T result ) { if (builder.Count > 0) { result = builder.Pop(); return(true); } result = default; return(false); }
public SyntaxNodeOrToken PopToken() { discriminatorStack.Pop(); return(tokenStack.Pop()); }