1 write to Index
Microsoft.ML.Core (1)
CommandLine\CmdParser.cs (1)
1428Index = index;
14 references to Index
Microsoft.ML.Core (14)
CommandLine\CmdParser.cs (14)
623Contracts.Assert(0 <= arg.Index && arg.Index < info.Args.Length); 670hadError |= !arg.SetValue(this, ref values[arg.Index], value, tag, destination); 672hadError |= !arg.SetValue(this, ref values[arg.Index], strs[++i], "", destination); 679hadError |= !arg.SetValue(this, ref values[arg.Index], value, tag, destination); 686hadError |= !arg.SetValue(this, ref values[arg.Index], value, tag, destination); 694hadError |= !arg.SetValue(this, ref values[arg.Index], value, tag, destination); 699hadError |= !arg.SetValue(this, ref values[arg.Index], val, "", destination); 764hadError |= arg.Finish(this, values[arg.Index], destination); 1205Contracts.Assert(Args.Where(a => a.Index == argument.Index).Count() == 1); 1206arg = Args.FirstOrDefault(a => a.Index == argument.Index); 1219public int Index { get { return _arg.Index; } } 1341Contracts.Assert(argDef == null || argDef.Index == -1); 1345Contracts.Assert(args.Select((arg, index) => arg.Index == index).All(b => b));