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