Browse Source

Removed unused using statements

tags/docs-0.9
RogueException 9 years ago
parent
commit
cc788c98a8
10 changed files with 10 additions and 17 deletions
  1. +2
    -0
      src/Discord.Net.Audio/Opus/OpusConverter.cs
  2. +2
    -0
      src/Discord.Net.Audio/Sodium/SecretBox.cs
  3. +0
    -1
      src/Discord.Net/API/Client/Rest/UpdateMember.cs
  4. +1
    -2
      src/Discord.Net/API/Client/Rest/UpdateMessage.cs
  5. +3
    -4
      src/Discord.Net/ETF/ETFReader.cs
  6. +0
    -1
      src/Discord.Net/MessageQueue.cs
  7. +1
    -3
      src/Discord.Net/Models/Color.cs
  8. +1
    -4
      src/Discord.Net/Models/Message.cs
  9. +0
    -1
      src/Discord.Net/Net/HttpException.cs
  10. +0
    -1
      src/Discord.Net/Net/Rest/RestClient.cs

+ 2
- 0
src/Discord.Net.Audio/Opus/OpusConverter.cs View File

@@ -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
{ {


+ 2
- 0
src/Discord.Net.Audio/Sodium/SecretBox.cs View File

@@ -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
{ {


+ 0
- 1
src/Discord.Net/API/Client/Rest/UpdateMember.cs View File

@@ -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
- 2
src/Discord.Net/API/Client/Rest/UpdateMessage.cs View File

@@ -1,5 +1,4 @@
using Discord.API.Converters;
using Newtonsoft.Json;
using Newtonsoft.Json;


namespace Discord.API.Client.Rest namespace Discord.API.Client.Rest
{ {


+ 3
- 4
src/Discord.Net/ETF/ETFReader.cs View File

@@ -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));
*/
} }
}
}*/

+ 0
- 1
src/Discord.Net/MessageQueue.cs View File

@@ -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
- 3
src/Discord.Net/Models/Color.cs View File

@@ -1,6 +1,4 @@
using System;

namespace Discord
namespace Discord
{ {
public class Color public class Color
{ {


+ 1
- 4
src/Discord.Net/Models/Message.cs View File

@@ -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;


+ 0
- 1
src/Discord.Net/Net/HttpException.cs View File

@@ -1,6 +1,5 @@
using System; using System;
using System.Net; using System.Net;
using System.Runtime.Serialization;


namespace Discord.Net namespace Discord.Net
{ {


+ 0
- 1
src/Discord.Net/Net/Rest/RestClient.cs View File

@@ -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;




Loading…
Cancel
Save