This is an automated email from the ASF dual-hosted git repository.
nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
The following commit(s) were added to refs/heads/master by this push:
new 5a89b321a Add DebuggerDisplay for SegToken (#634)
5a89b321a is described below
commit 5a89b321a115217f19b718997d2555c647ae7486
Author: BrandonStudio <[email protected]>
AuthorDate: Sun May 22 21:19:01 2022 +0800
Add DebuggerDisplay for SegToken (#634)
* Add DebuggerDisplay for SegToken
* add missing")"
---
src/Lucene.Net.Analysis.SmartCn/Hhmm/SegToken.cs | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/Lucene.Net.Analysis.SmartCn/Hhmm/SegToken.cs
b/src/Lucene.Net.Analysis.SmartCn/Hhmm/SegToken.cs
index 8ddf31bdf..35f27e0f0 100644
--- a/src/Lucene.Net.Analysis.SmartCn/Hhmm/SegToken.cs
+++ b/src/Lucene.Net.Analysis.SmartCn/Hhmm/SegToken.cs
@@ -26,6 +26,7 @@ namespace Lucene.Net.Analysis.Cn.Smart.Hhmm
/// <para/>
/// @lucene.experimental
/// </summary>
+ [System.Diagnostics.DebuggerDisplay("{new string(CharArray)}")]
public class SegToken
{
/// <summary>