2 writes to ItemType
Microsoft.ML.Core (2)
CommandLine\CmdParser.cs (2)
1448ItemType = field.FieldType.GetElementType(); 1456ItemValueType = ItemType = field.FieldType;
11 references to ItemType
Microsoft.ML.Core (11)
CommandLine\CmdParser.cs (11)
1225public Type ItemType { get { return _arg.ItemType; } } 1450IsTaggedCollection = IsKeyValuePair(ItemType); 1451ItemValueType = IsTaggedCollection ? ItemType.GenericTypeArguments[1] : ItemType; 1513Field.SetValue(destination, Array.CreateInstance(ItemType, 0)); 1547ItemType, 1593var arr = Array.CreateInstance(ItemType, comList.Count); 1596var kvp = Activator.CreateInstance(ItemType, comList[i].Key, comList[i].Value); 1636var res = Array.CreateInstance(ItemType, Utils.Size(values)); 1639var kvp = Activator.CreateInstance(ItemType, values[i].Key, values[i].Value); 1646var res = Array.CreateInstance(ItemType, Utils.Size(values));