|
|
@@ -43,7 +43,7 @@ namespace Discord.Commands |
|
|
|
_typeReaders = new ConcurrentDictionary<Type, ConcurrentDictionary<Type, TypeReader>>(); |
|
|
|
|
|
|
|
_defaultTypeReaders = new ConcurrentDictionary<Type, TypeReader>(); |
|
|
|
foreach (Type type in PrimitiveParsers.SupportedTypes) |
|
|
|
foreach (var type in PrimitiveParsers.SupportedTypes) |
|
|
|
{ |
|
|
|
_defaultTypeReaders[type] = PrimitiveTypeReader.Create(type); |
|
|
|
if (type.GetTypeInfo().IsValueType) |
|
|
|