NadekoBot.Extensions should now be fully annotated with nullable reference types as well as many classes from NadekoBot.Common

This commit is contained in:
Kwoth
2021-12-28 10:44:00 +01:00
parent 0634470a8a
commit 59f5056035
543 changed files with 1895 additions and 1448 deletions

View File

@@ -1,4 +1,5 @@
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
#nullable disable
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
public class AlreadyJoinedException : Exception
{
@@ -14,4 +15,4 @@ public class AlreadyJoinedException : Exception
public AlreadyJoinedException(string message, Exception innerException) : base(message, innerException)
{
}
}
}

View File

@@ -1,4 +1,5 @@
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
#nullable disable
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
public class AlreadyStartedException : Exception
{
@@ -13,4 +14,4 @@ public class AlreadyStartedException : Exception
public AlreadyStartedException(string message, Exception innerException) : base(message, innerException)
{
}
}
}

View File

@@ -1,4 +1,5 @@
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
#nullable disable
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
public class AnimalRaceFullException : Exception
{
@@ -13,4 +14,4 @@ public class AnimalRaceFullException : Exception
public AnimalRaceFullException(string message, Exception innerException) : base(message, innerException)
{
}
}
}

View File

@@ -1,4 +1,5 @@
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
#nullable disable
namespace NadekoBot.Modules.Gambling.Common.AnimalRacing.Exceptions;
public class NotEnoughFundsException : Exception
{
@@ -13,4 +14,4 @@ public class NotEnoughFundsException : Exception
public NotEnoughFundsException(string message, Exception innerException) : base(message, innerException)
{
}
}
}