We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67951fb commit bbf743fCopy full SHA for bbf743f
1 file changed
Ramstack.Structures/Internal/ThrowHelper.cs
@@ -1,11 +1,20 @@
1
namespace Ramstack.Internal;
2
3
+/// <summary>
4
+/// Provides helper methods for throwing exceptions.
5
+/// </summary>
6
internal static class ThrowHelper
7
{
8
+ /// <summary>
9
+ /// Throws an <see cref="ArgumentOutOfRangeException"/>.
10
+ /// </summary>
11
[DoesNotReturn]
12
public static void ThrowArgumentOutOfRangeException() =>
13
throw new ArgumentOutOfRangeException();
14
15
16
+ /// Throws a <see cref="NotSupportedException"/>.
17
18
19
public static void ThrowNotSupportedException() =>
20
throw new NotSupportedException();
0 commit comments