private void Validate(IHasOperators holder, IList <IOperator> operators) { holder.Operators.Clear(); }
public static IEnumerable <SyntaxNode> GetOperNodes(this SyntaxGenerator gen, IHasOperators holder) => holder.Operators.OfType <IHasSyntaxNodes>().SelectMany(n => n.GetNodes(gen));