| @@ -1,6 +1,8 @@ | |||||
| using System; | using System; | ||||
| using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
| #if NET45 | |||||
| using System.Security; | using System.Security; | ||||
| #endif | |||||
| namespace Discord.Audio.Opus | namespace Discord.Audio.Opus | ||||
| { | { | ||||
| @@ -1,5 +1,7 @@ | |||||
| using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||
| #if NET45 | |||||
| using System.Security; | using System.Security; | ||||
| #endif | |||||
| namespace Discord.Audio.Sodium | namespace Discord.Audio.Sodium | ||||
| { | { | ||||
| @@ -1,6 +1,5 @@ | |||||
| using Discord.API.Converters; | using Discord.API.Converters; | ||||
| using Newtonsoft.Json; | using Newtonsoft.Json; | ||||
| using System.Collections.Generic; | |||||
| namespace Discord.API.Client.Rest | namespace Discord.API.Client.Rest | ||||
| { | { | ||||
| @@ -1,5 +1,4 @@ | |||||
| using Discord.API.Converters; | |||||
| using Newtonsoft.Json; | |||||
| using Newtonsoft.Json; | |||||
| namespace Discord.API.Client.Rest | namespace Discord.API.Client.Rest | ||||
| { | { | ||||
| @@ -1,4 +1,4 @@ | |||||
| using System; | |||||
| /*using System; | |||||
| using System.Collections.Concurrent; | using System.Collections.Concurrent; | ||||
| using System.IO; | using System.IO; | ||||
| using System.Linq; | using System.Linq; | ||||
| @@ -8,7 +8,7 @@ namespace Discord.ETF | |||||
| { | { | ||||
| public class ETFReader | public class ETFReader | ||||
| { | { | ||||
| /* | |||||
| private readonly Stream _stream; | private readonly Stream _stream; | ||||
| private readonly byte[] _buffer; | private readonly byte[] _buffer; | ||||
| private readonly bool _leaveOpen; | private readonly bool _leaveOpen; | ||||
| @@ -168,6 +168,5 @@ namespace Discord.ETF | |||||
| } | } | ||||
| public void Write(DateTime value) => Write((ulong)((value.Ticks - _epochTime.Ticks) / TimeSpan.TicksPerSecond)); | public void Write(DateTime value) => Write((ulong)((value.Ticks - _epochTime.Ticks) / TimeSpan.TicksPerSecond)); | ||||
| */ | |||||
| } | } | ||||
| } | |||||
| }*/ | |||||
| @@ -3,7 +3,6 @@ using Discord.Logging; | |||||
| using Discord.Net.Rest; | using Discord.Net.Rest; | ||||
| using System; | using System; | ||||
| using System.Collections.Concurrent; | using System.Collections.Concurrent; | ||||
| using System.Collections.Generic; | |||||
| using System.Net; | using System.Net; | ||||
| using System.Threading; | using System.Threading; | ||||
| using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
| @@ -1,6 +1,4 @@ | |||||
| using System; | |||||
| namespace Discord | |||||
| namespace Discord | |||||
| { | { | ||||
| public class Color | public class Color | ||||
| { | { | ||||
| @@ -1,9 +1,6 @@ | |||||
| using Discord.API.Client.Rest; | |||||
| using Discord.Net; | |||||
| using System; | |||||
| using System; | |||||
| using System.Collections.Generic; | using System.Collections.Generic; | ||||
| using System.Linq; | using System.Linq; | ||||
| using System.Net; | |||||
| using System.Text.RegularExpressions; | using System.Text.RegularExpressions; | ||||
| using System.Threading.Tasks; | using System.Threading.Tasks; | ||||
| using APIMessage = Discord.API.Client.Message; | using APIMessage = Discord.API.Client.Message; | ||||
| @@ -1,6 +1,5 @@ | |||||
| using System; | using System; | ||||
| using System.Net; | using System.Net; | ||||
| using System.Runtime.Serialization; | |||||
| namespace Discord.Net | namespace Discord.Net | ||||
| { | { | ||||
| @@ -3,7 +3,6 @@ using Discord.ETF; | |||||
| using Discord.Logging; | using Discord.Logging; | ||||
| using System; | using System; | ||||
| using System.Diagnostics; | using System.Diagnostics; | ||||
| using System.IO; | |||||
| using System.Threading; | using System.Threading; | ||||
| using System.Threading.Tasks; | using System.Threading.Tasks; | ||||