Skip to content

Commit b14d28e

Browse files
fix: compiler warnings
1 parent 69c1ec3 commit b14d28e

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

src/Nullinside.Api.Common/Desktop/GithubLatestReleaseJson.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// <autogenerated />
2-
// ReSharper disable All
1+
// ReSharper disable All
32

43
using System.Diagnostics.CodeAnalysis;
54

src/Nullinside.Api.Common/Twitch/Json/TwitchModeratedChannelsResponse.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// <autogenerated />
2-
// ReSharper disable All
1+
// ReSharper disable All
32

43
using System.Diagnostics.CodeAnalysis;
54

src/Nullinside.Api.Common/Twitch/TwitchClientProxy.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ public class TwitchClientProxy : ITwitchClientProxy {
2929
/// </summary>
3030
private static TwitchClientProxy? s_instance;
3131

32-
/// <summary>
33-
/// The callback(s) to invoke when a channel receives a chat message.
34-
/// </summary>
35-
private readonly Dictionary<string, Action<OnMessageReceivedArgs>?> _onMessageReceived = new();
36-
3732
/// <summary>
3833
/// The list of chats we attempted to join with the bot.
3934
/// </summary>
@@ -43,6 +38,11 @@ public class TwitchClientProxy : ITwitchClientProxy {
4338
/// </remarks>
4439
private readonly HashSet<string> _joinedChannels;
4540

41+
/// <summary>
42+
/// The callback(s) to invoke when a channel receives a chat message.
43+
/// </summary>
44+
private readonly Dictionary<string, Action<OnMessageReceivedArgs>?> _onMessageReceived = new();
45+
4646
/// <summary>
4747
/// The callback(s) to invoke when a channel is raided.
4848
/// </summary>
@@ -63,8 +63,6 @@ public class TwitchClientProxy : ITwitchClientProxy {
6363
/// </summary>
6464
private readonly object _twitchClientLock = new();
6565

66-
private string? _twitchOAuthToken;
67-
6866
/// <summary>
6967
/// The twitch client to send and receive messages with.
7068
/// </summary>
@@ -75,6 +73,8 @@ public class TwitchClientProxy : ITwitchClientProxy {
7573
/// </summary>
7674
private WebSocketClient? _socket;
7775

76+
private string? _twitchOAuthToken;
77+
7878
/// <summary>
7979
/// Initializes a new instance of the <see cref="TwitchClientProxy" /> class.
8080
/// </summary>

src/Nullinside.Api/Shared/Json/GoogleOpenIdToken.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// <autogenerated />
21
// ReSharper disable All
32

43
using System.Diagnostics.CodeAnalysis;

0 commit comments

Comments
 (0)