6 references to CheckParam
Microsoft.ML.DataView (6)
KeyDataViewType.cs (1)
76
Contracts.
CheckParam
(0 < count, nameof(count), "The cardinality of a " + nameof(KeyDataViewType) + " must be strictly positive.");
VBuffer.cs (4)
287
Contracts.
CheckParam
(0 <= destinationIndex && destinationIndex <= destination.Length - Length,
427
Contracts.
CheckParam
(newLogicalLength >= 0, nameof(newLogicalLength), "Must be non-negative.");
428
Contracts.
CheckParam
(valuesCount == null || valuesCount.Value >= 0, nameof(valuesCount),
430
Contracts.
CheckParam
(valuesCount == null || valuesCount.Value <= newLogicalLength, nameof(valuesCount),
VBufferEditor.cs (1)
159
Contracts.
CheckParam
(physicalValuesCount <= Values.Length, nameof(physicalValuesCount),