Data\RowCursorUtils.cs (14)
36Contracts.CheckParam(0 <= col && col < row.Schema.Count, nameof(col));
58Contracts.CheckParam(0 <= col && col < row.Schema.Count, nameof(col));
79Contracts.CheckParam(0 <= col && col < row.Schema.Count, nameof(col));
124Contracts.CheckParam(0 <= col && col < row.Schema.Count, nameof(col));
157Contracts.CheckParam(0 <= col && col < row.Schema.Count, nameof(col));
177Contracts.CheckParam(0 <= col && col < row.Schema.Count, nameof(col));
307Contracts.Check(0 <= col && col < cursor.Schema.Count);
477env.CheckParam(Enumerable.Range(0, row.Schema.Count).All(c => row.IsColumnActive(row.Schema[c])), nameof(row), "Some columns were inactive");
494bool[] indicesRequested = new bool[sourceSchema.Count];
520_host.Assert(Enumerable.Range(0, row.Schema.Count).All(c => row.IsColumnActive(row.Schema[c])));
528bool[] active = Utils.BuildArray(Schema.Count, columnNeeded);
556Ch.Assert(active.Length == parent.Schema.Count);
572Ch.CheckParam(column.Index < Schema.Count, nameof(column));
589Ch.CheckParam(column.Index < Schema.Count, nameof(column));
DataView\Transposer.cs (13)
111_inputToTransposed = Utils.CreateArray(schema.Count, -1);
148ch.Assert(Enumerable.Range(0, slicerSchema.Count).All(c => saver.IsColumnSavable(slicerSchema[c].Type)));
227if (!(0 <= columns[c] && columns[c] < schema.Count))
228throw host.ExceptParam(nameof(columns), "Column index {0} illegal for data with {1} column", columns[c], schema.Count);
235_host.CheckParam(0 <= col && col < _view.Schema.Count, nameof(col));
309Ch.Assert(0 <= col && col < parent.Schema.Count);
327Ch.Assert(0 <= _col && _col < _parent.Schema.Count);
344Ch.Assert(0 <= col && col < parent.Schema.Count);
877bool isActive = pred == null || Enumerable.Range(offset, splitter.OutputSchema.Count).Any(c => pred(c));
914Contracts.Assert(0 <= col && col < view.Schema.Count);
1300Ch.Check(column.Index < Schema.Count, nameof(column));
1343Contracts.CheckParam(0 <= col && col < view.Schema.Count, nameof(col));
1429_host.CheckParam(0 <= col && col < data.Schema.Count, nameof(col));