From 0b934fa46be3c20d327247c1caba735eabd9d30a Mon Sep 17 00:00:00 2001 From: nerocui Date: Wed, 22 Nov 2023 00:12:40 -0800 Subject: [PATCH] handled switch statement exhaustively. --- components/MarkdownTextBlock/src/TextElements/MyList.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/MarkdownTextBlock/src/TextElements/MyList.cs b/components/MarkdownTextBlock/src/TextElements/MyList.cs index 97cc6d496..fc381008b 100644 --- a/components/MarkdownTextBlock/src/TextElements/MyList.cs +++ b/components/MarkdownTextBlock/src/TextElements/MyList.cs @@ -64,7 +64,8 @@ public void AddChild(IAddChild child) BulletType.UpperAlpha => $"{_index.ToAlphabetical().ToUpper()}. ", BulletType.LowerRoman => $"{_index.ToRomanNumerals().ToLower()} ", BulletType.UpperRoman => $"{_index.ToRomanNumerals().ToUpper()} ", - BulletType.Circle => _dot + BulletType.Circle => _dot, + _ => _dot }; _index++; }