Make _typeReaderTypeInfo static

Seems I missed this originally, whoops.
This commit is contained in:
FiniteReality
2016-11-19 21:16:28 +00:00
parent 156483bf71
commit d2d7b4dce7

View File

@@ -7,7 +7,7 @@ namespace Discord.Commands
[AttributeUsage(AttributeTargets.Parameter)]
public class OverrideTypeReaderAttribute : Attribute
{
private readonly TypeInfo _typeReaderTypeInfo = typeof(TypeReader).GetTypeInfo();
private static readonly TypeInfo _typeReaderTypeInfo = typeof(TypeReader).GetTypeInfo();
public Type TypeReader { get; }