From 47a3062555a6c98c5c0421807d0d7b769f73a179 Mon Sep 17 00:00:00 2001 From: Arlo Date: Fri, 24 Jan 2025 16:56:50 -0600 Subject: [PATCH] Refactor warnings handling and update documentation comments --- Directory.Build.props | 8 +++++++- components/MarkdownTextBlock/src/TextElements/MyList.cs | 2 +- components/RivePlayer/src/StateMachineInputCollection.cs | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index ebe4b1e45..7f02eacdb 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -15,7 +15,13 @@ $(NoWarn);Uno0001 - NU1901;NU1902;NU1903;NU1904;CS1591;CS1574 + NU1901;NU1902;NU1903;NU1904; + + + $(WarningsNotAsErrors);CS1591;CS1574; + + + $(WarningsNotAsErrors);CS0419;CS1570; diff --git a/components/MarkdownTextBlock/src/TextElements/MyList.cs b/components/MarkdownTextBlock/src/TextElements/MyList.cs index 46b15e1a8..8fcd67dfa 100644 --- a/components/MarkdownTextBlock/src/TextElements/MyList.cs +++ b/components/MarkdownTextBlock/src/TextElements/MyList.cs @@ -96,7 +96,7 @@ public void AddChild(IAddChild child) private BulletType ToBulletType(char bullet) { - /// Gets or sets the type of the bullet (e.g: '1', 'a', 'A', 'i', 'I'). + // Gets or sets the type of the bullet (e.g: '1', 'a', 'A', 'i', 'I'). switch (bullet) { case '1': diff --git a/components/RivePlayer/src/StateMachineInputCollection.cs b/components/RivePlayer/src/StateMachineInputCollection.cs index bbd93c229..eac9f8bb7 100644 --- a/components/RivePlayer/src/StateMachineInputCollection.cs +++ b/components/RivePlayer/src/StateMachineInputCollection.cs @@ -11,7 +11,7 @@ namespace CommunityToolkit.Labs.WinUI.Rive; /// /// /// -/// +/// /// /// ///