public ResolveReferanceBlockDefinition(Tpn.TypeProblem2.Scope myScope, IOrType <IResolve <IBox <IFrontendCodeElement> >, IError>[] nextElements, Box <IReadOnlyList <IOrType <IBox <IFrontendCodeElement>, IError> > > box) { this.myScope = myScope ?? throw new ArgumentNullException(nameof(myScope)); this.nextElements = nextElements ?? throw new ArgumentNullException(nameof(nextElements)); this.box = box ?? throw new ArgumentNullException(nameof(box)); }