Add debugger step through

This commit is contained in:
Noikoio 2018-11-04 19:38:36 -08:00
parent 367427938c
commit 81e9e6f959

View file

@ -1,6 +1,7 @@
using Discord.WebSocket; using Discord.WebSocket;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using System; using System;
using System.Diagnostics;
using System.Threading.Tasks; using System.Threading.Tasks;
namespace Kerobot namespace Kerobot
@ -56,6 +57,7 @@ namespace Kerobot
/// <exception cref="InvalidCastException"> /// <exception cref="InvalidCastException">
/// Thrown if the stored state object cannot be cast as specified. /// Thrown if the stored state object cannot be cast as specified.
/// </exception> /// </exception>
[DebuggerStepThrough]
protected T GetGuildState<T>(ulong guildId) => Kerobot.GetGuildState<T>(guildId, GetType()); protected T GetGuildState<T>(ulong guildId) => Kerobot.GetGuildState<T>(guildId, GetType());
/// <summary> /// <summary>