using System.Collections.Generic; namespace AspClassic.Parser; /// /// A collection of parameters. /// public sealed class ParameterCollection : CommaDelimitedTreeCollection { private readonly Location _RightParenthesisLocation; /// /// The location of the ')'. /// public Location RightParenthesisLocation => _RightParenthesisLocation; /// /// Constructs a new collection of parameters. /// /// The parameters in the collection /// The locations of the commas. /// The location of the right parenthesis. /// The location of the parse tree. public ParameterCollection(IList parameters, IList commaLocations, Location rightParenthesisLocation, Span span) : base(TreeType.ParameterCollection, parameters, commaLocations, span) { _RightParenthesisLocation = rightParenthesisLocation; } }