public void AddContent(XslNode node) { Debug.Assert(node != null); if (_content == null) { _content = new List <XslNode>(); } _content.Add(node); }
public new void AddContent(XslNode node) { Debug.Assert(node != null && node.NodeType == XslNodeType.List); base.AddContent(node); }
public void AddContent(XslNode node) { Debug.Assert(node != null); _content ??= new List <XslNode>(); _content.Add(node); }
protected virtual T Visit(XslNode node) => node.NodeType switch {