103 references to CheckValue
Microsoft.ML.Core (103)
CommandLine\CmdParser.cs (5)
238Contracts.CheckValue(env, nameof(env)); 281Contracts.CheckValue(destination, nameof(destination)); 292Contracts.CheckValue(env, nameof(env)); 464Contracts.CheckValue(type, nameof(type)); 1254Contracts.CheckValue(type, nameof(type));
ComponentModel\AssemblyLoadingUtils.cs (2)
87Contracts.CheckValue(env, nameof(env)); 95Contracts.CheckValue(env, nameof(env));
ComponentModel\ComponentCatalog.cs (11)
267Contracts.CheckValue(env, nameof(env)); 733Contracts.CheckValue(typeBase, nameof(typeBase)); 761Contracts.CheckValue(sig, nameof(sig)); 852Contracts.CheckValue(argumentType, nameof(argumentType)); 861Contracts.CheckValue(interfaceType, nameof(interfaceType)); 863Contracts.CheckValue(argumentType, nameof(argumentType)); 872Contracts.CheckValue(interfaceType, nameof(interfaceType)); 886Contracts.CheckValue(interfaceType, nameof(interfaceType)); 929Contracts.CheckValue(interfaceType, nameof(interfaceType)); 936Contracts.CheckValue(signatureType, nameof(signatureType)); 1000Contracts.CheckValue(env, nameof(env));
ComponentModel\LoadableClassAttribute.cs (4)
164Contracts.CheckValue(instType, nameof(instType)); 165Contracts.CheckValue(loaderType, nameof(loaderType)); 175Contracts.CheckValue(sigType, nameof(sigTypes)); 207Contracts.CheckValue(sigType, nameof(sigTypes));
Data\AnnotationUtils.cs (6)
130Contracts.CheckValue(getter, nameof(getter)); 198Contracts.CheckValue(type, nameof(type)); 360Contracts.CheckValue(schema, nameof(schema)); 361Contracts.CheckValue(type, nameof(type)); 380Contracts.CheckValue(schema, nameof(schema)); 497Contracts.CheckValue(annotations, nameof(annotations));
Data\IEstimator.cs (3)
131Contracts.CheckValue(columns, nameof(columns)); 180Contracts.CheckValue(schema, nameof(schema)); 209Contracts.CheckValue(name, nameof(name));
Data\IFileHandle.cs (1)
69Contracts.CheckValue(ectx, nameof(ectx));
Data\ModelHeader.cs (4)
110Contracts.CheckValue(writer, nameof(writer)); 131Contracts.CheckValue(writer, nameof(writer)); 199Contracts.CheckValue(writer, nameof(writer)); 468Contracts.CheckValue(reader, nameof(reader));
Data\ModelLoadContext.cs (1)
78Contracts.CheckValue(rep, nameof(rep));
Data\ModelLoading.cs (8)
85Contracts.CheckValue(env, nameof(env)); 119Contracts.CheckValue(env, nameof(env)); 158Contracts.CheckValue(env, nameof(env)); 180Contracts.CheckValue(env, nameof(env)); 193Contracts.CheckValue(env, nameof(env)); 204Contracts.CheckValue(env, nameof(env)); 216Contracts.CheckValue(env, nameof(env)); 231Contracts.CheckValue(env, nameof(env));
Data\ModelSaveContext.cs (1)
87Contracts.CheckValue(rep, nameof(rep));
Data\ModelSaving.cs (2)
63Contracts.CheckValue(writer, nameof(writer)); 64Contracts.CheckValue(fn, nameof(fn));
Data\ProgressReporter.cs (3)
366Contracts.CheckValue(ectx, nameof(ectx)); 556Contracts.CheckValue(header, nameof(header)); 590Contracts.CheckValue(entry, nameof(entry));
Data\ReadOnlyMemoryUtils.cs (2)
215Contracts.CheckValue(sb, nameof(sb)); 239Contracts.CheckValue(sb, nameof(sb));
Data\RootCursorBase.cs (1)
40Contracts.CheckValue(provider, nameof(provider));
Data\ServerChannel.cs (3)
61Contracts.CheckValue(provider, nameof(provider)); 175Contracts.CheckValue(env, nameof(env)); 266Contracts.CheckValue(provider, nameof(provider));
EntryPoints\EntryPointUtils.cs (1)
93Contracts.CheckValue(env, nameof(env));
EntryPoints\ModuleArgs.cs (1)
234Contracts.CheckValue(val, nameof(val));
Environment\ConsoleEnvironment.cs (2)
425Contracts.CheckValue(newOutWriter, nameof(newOutWriter)); 426Contracts.CheckValue(newErrWriter, nameof(newErrWriter));
Environment\HostEnvironmentBase.cs (3)
392Contracts.CheckValue(source, nameof(source)); 499Contracts.CheckValue(listenerFunc, nameof(listenerFunc)); 506Contracts.CheckValue(listenerFunc, nameof(listenerFunc));
Prediction\TrainContext.cs (1)
55Contracts.CheckValue(trainingSet, nameof(trainingSet));
Utilities\BigArray.cs (2)
124Contracts.CheckValue(manip, nameof(manip)); 137Contracts.CheckValue(manip, nameof(manip));
Utilities\Contracts.cs (1)
191CheckValue(ex, nameof(ex));
Utilities\FuncMethodInfo`1.cs (1)
16Contracts.CheckValue(methodInfo, nameof(methodInfo));
Utilities\FuncMethodInfo`2.cs (1)
16Contracts.CheckValue(methodInfo, nameof(methodInfo));
Utilities\FuncMethodInfo`3.cs (1)
16Contracts.CheckValue(methodInfo, nameof(methodInfo));
Utilities\HybridMemoryStream.cs (2)
70Contracts.CheckValue(stream, nameof(stream)); 214Contracts.CheckValue(buffer, nameof(buffer));
Utilities\MathUtils.cs (2)
59Contracts.CheckValue(x, nameof(x)); 60Contracts.CheckValue(y, nameof(y));
Utilities\OrderedWaiter.cs (1)
138Contracts.CheckValue(ex, nameof(ex));
Utilities\Random.cs (1)
207Contracts.CheckValue(buffer, nameof(buffer));
Utilities\ReservoirSampler.cs (4)
72Contracts.CheckValue(rnd, nameof(rnd)); 74Contracts.CheckValue(getter, nameof(getter)); 151Contracts.CheckValue(rnd, nameof(rnd)); 153Contracts.CheckValue(getter, nameof(getter));
Utilities\Stream.cs (1)
938Contracts.CheckValue(stream, nameof(stream));
Utilities\TextReaderStream.cs (1)
150Contracts.CheckValue(buffer, nameof(buffer));
Utilities\Tree.cs (1)
140Contracts.CheckValue(newChild, nameof(newChild));
Utilities\Utils.cs (10)
745Contracts.CheckValue(func, nameof(func)); 769Contracts.CheckValue(schema, nameof(schema)); 771Contracts.CheckValue(pred, nameof(pred)); 805Contracts.CheckValue(pred, nameof(pred)); 840Contracts.CheckValue(columnsNeeded, nameof(columnsNeeded)); 951Contracts.CheckValue(bitArray, nameof(bitArray)); 1186Contracts.CheckValue(genArg, nameof(genArg)); 1187Contracts.CheckValue(func, nameof(func)); 1269Contracts.CheckValue(predicate, nameof(predicate)); 1282Contracts.CheckValue(predicate, nameof(predicate));
Utilities\VBufferUtils.cs (9)
85Contracts.CheckValue(visitor, nameof(visitor)); 116Contracts.CheckValue(visitor, nameof(visitor)); 167Contracts.CheckValue(visitor, nameof(visitor)); 272Contracts.CheckValue(manip, nameof(manip)); 305Contracts.CheckValue(manip, nameof(manip)); 592Contracts.CheckValue(manip, nameof(manip)); 879Contracts.CheckValue(manip, nameof(manip)); 1127Contracts.CheckValue(func, nameof(func)); 1170Contracts.CheckValue(func, nameof(func));