From f7bd7aee8931f85a76ae70b434296151955e1e15 Mon Sep 17 00:00:00 2001 From: Paulo Anjos Date: Sun, 15 Jan 2017 20:57:06 -0200 Subject: [PATCH] Changing back Type to var --- src/Discord.Net.Commands/CommandService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Discord.Net.Commands/CommandService.cs b/src/Discord.Net.Commands/CommandService.cs index 7dedb4dd7..d1d0a688f 100644 --- a/src/Discord.Net.Commands/CommandService.cs +++ b/src/Discord.Net.Commands/CommandService.cs @@ -43,7 +43,7 @@ namespace Discord.Commands _typeReaders = new ConcurrentDictionary>(); _defaultTypeReaders = new ConcurrentDictionary(); - foreach (Type type in PrimitiveParsers.SupportedTypes) + foreach (var type in PrimitiveParsers.SupportedTypes) { _defaultTypeReaders[type] = PrimitiveTypeReader.Create(type); if (type.GetTypeInfo().IsValueType)