/// <summary> /// Constructor /// </summary> /// <param name="locals">All locals that will be owned by this instance</param> public LocalList(IEnumerable <Local> locals) { this.locals = new LazyList <Local>(this); foreach (var local in locals.GetSafeEnumerable()) { this.locals.Add(local); } }