Browse Source

Changing back Type to var

pull/484/head
Paulo Anjos 8 years ago
parent
commit
f7bd7aee89
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Commands/CommandService.cs

+ 1
- 1
src/Discord.Net.Commands/CommandService.cs View File

@@ -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)


Loading…
Cancel
Save