17 references to CheckParam
Microsoft.ML.DataView (17)
VBuffer.cs (12)
117Contracts.CheckParam(length >= 0, nameof(length));
118Contracts.CheckParam(ArrayUtils.Size(values) >= length, nameof(values));
144Contracts.CheckParam(length >= 0, nameof(length));
145Contracts.CheckParam(0 <= count && count <= length, nameof(count));
146Contracts.CheckParam(ArrayUtils.Size(values) >= count, nameof(values));
147Contracts.CheckParam(count == length || ArrayUtils.Size(indices) >= count, nameof(indices));
225Contracts.CheckParam(0 <= sourceIndex && sourceIndex <= Length, nameof(sourceIndex));
226Contracts.CheckParam(0 <= length && sourceIndex <= Length - length, nameof(length));
323Contracts.CheckParam(0 <= length && length <= ArrayUtils.Size(source), nameof(length));
324Contracts.CheckParam(0 <= sourceIndex && sourceIndex <= ArrayUtils.Size(source) - length, nameof(sourceIndex));
376Contracts.CheckParam(0 <= index && index < Length, nameof(index));
395Contracts.CheckParam(0 <= index && index < Length, nameof(index));