Skip to content

Commit bbf743f

Browse files
committed
Refine xml-comments
1 parent 67951fb commit bbf743f

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

Ramstack.Structures/Internal/ThrowHelper.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
namespace Ramstack.Internal;
22

3+
/// <summary>
4+
/// Provides helper methods for throwing exceptions.
5+
/// </summary>
36
internal static class ThrowHelper
47
{
8+
/// <summary>
9+
/// Throws an <see cref="ArgumentOutOfRangeException"/>.
10+
/// </summary>
511
[DoesNotReturn]
612
public static void ThrowArgumentOutOfRangeException() =>
713
throw new ArgumentOutOfRangeException();
814

15+
/// <summary>
16+
/// Throws a <see cref="NotSupportedException"/>.
17+
/// </summary>
918
[DoesNotReturn]
1019
public static void ThrowNotSupportedException() =>
1120
throw new NotSupportedException();

0 commit comments

Comments
 (0)