using System.Collections.ObjectModel; using System.Linq.Expressions; using Connected.Expressions.Collections; namespace Connected.Expressions.Mappings; internal class ConstructorBindResult { public ConstructorBindResult(NewExpression expression, IEnumerable remaining) { Expression = expression; Remaining = remaining.ToReadOnly(); } public NewExpression Expression { get; } public ReadOnlyCollection Remaining { get; } }