1 write to Index
Microsoft.ML.Core (1)
CommandLine\CmdParser.cs (1)
1429Index = index;
14 references to Index
Microsoft.ML.Core (14)
CommandLine\CmdParser.cs (14)
624Contracts.Assert(0 <= arg.Index && arg.Index < info.Args.Length); 671hadError |= !arg.SetValue(this, ref values[arg.Index], value, tag, destination); 673hadError |= !arg.SetValue(this, ref values[arg.Index], strs[++i], "", destination); 680hadError |= !arg.SetValue(this, ref values[arg.Index], value, tag, destination); 687hadError |= !arg.SetValue(this, ref values[arg.Index], value, tag, destination); 695hadError |= !arg.SetValue(this, ref values[arg.Index], value, tag, destination); 700hadError |= !arg.SetValue(this, ref values[arg.Index], val, "", destination); 765hadError |= arg.Finish(this, values[arg.Index], destination); 1206Contracts.Assert(Args.Where(a => a.Index == argument.Index).Count() == 1); 1207arg = Args.FirstOrDefault(a => a.Index == argument.Index); 1220public int Index { get { return _arg.Index; } } 1342Contracts.Assert(argDef == null || argDef.Index == -1); 1346Contracts.Assert(args.Select((arg, index) => arg.Index == index).All(b => b));