2 writes to ItemType
Microsoft.ML.Core (2)
CommandLine\CmdParser.cs (2)
1447ItemType = field.FieldType.GetElementType(); 1455ItemValueType = ItemType = field.FieldType;
11 references to ItemType
Microsoft.ML.Core (11)
CommandLine\CmdParser.cs (11)
1224public Type ItemType { get { return _arg.ItemType; } } 1449IsTaggedCollection = IsKeyValuePair(ItemType); 1450ItemValueType = IsTaggedCollection ? ItemType.GenericTypeArguments[1] : ItemType; 1512Field.SetValue(destination, Array.CreateInstance(ItemType, 0)); 1546ItemType, 1592var arr = Array.CreateInstance(ItemType, comList.Count); 1595var kvp = Activator.CreateInstance(ItemType, comList[i].Key, comList[i].Value); 1635var res = Array.CreateInstance(ItemType, Utils.Size(values)); 1638var kvp = Activator.CreateInstance(ItemType, values[i].Key, values[i].Value); 1645var res = Array.CreateInstance(ItemType, Utils.Size(values));