Skip to content

Commit f865281

Browse files
paulirwinCopilot
andauthored
Fix exception type in XML docs in UnicodeUtil.NewString
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 80b0f20 commit f865281

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Lucene.Net/Util/UnicodeUtil.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ public static void UTF8toUTF32(BytesRef utf8, Int32sRef utf32)
812812
/// <param name="count"> The number of code points. </param>
813813
/// <returns> a String representing the code points between offset and count. </returns>
814814
/// <exception cref="ArgumentException"> If an invalid code point is encountered. </exception>
815-
/// <exception cref="IndexOutOfRangeException"> If the offset or count are out of bounds. </exception>
815+
/// <exception cref="ArgumentOutOfRangeException"> If the offset or count are out of bounds. </exception>
816816
[MethodImpl(MethodImplOptions.AggressiveInlining)]
817817
public static string NewString(int[] codePoints, int offset, int count)
818818
{

0 commit comments

Comments
 (0)