perf: only allocate cacheableList once

This commit is contained in:
Christopher Felegy
2019-05-17 19:20:55 -04:00
parent 358b9e7b7b
commit 76f82d687b
2 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
#pragma warning disable CS1591
#pragma warning disable CS1591
using Newtonsoft.Json;
using System.Collections.Generic;
@@ -9,6 +9,6 @@ namespace Discord.API.Gateway
[JsonProperty("channel_id")]
public ulong ChannelId { get; set; }
[JsonProperty("ids")]
public IEnumerable<ulong> Ids { get; set; }
public ulong[] Ids { get; set; }
}
}