Browse Source

Make `_typeReaderTypeInfo` static

Seems I missed this originally, whoops.
tags/1.0-rc
FiniteReality 8 years ago
parent
commit
d2d7b4dce7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Discord.Net.Commands/Attributes/OverrideTypeReaderAttribute.cs

+ 1
- 1
src/Discord.Net.Commands/Attributes/OverrideTypeReaderAttribute.cs 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; }



Loading…
Cancel
Save