diff --git a/UITests/UITests.Tests.Shared/Controls/GridSplitterTest.cs b/UITests/UITests.Tests.Shared/Controls/GridSplitterTest.cs
index 2827b4f0b8e..4e09ea8dbb9 100644
--- a/UITests/UITests.Tests.Shared/Controls/GridSplitterTest.cs
+++ b/UITests/UITests.Tests.Shared/Controls/GridSplitterTest.cs
@@ -2,15 +2,14 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
-using Microsoft.Windows.Apps.Test.Foundation;
-using Microsoft.Windows.Apps.Test.Foundation.Controls;
-using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common;
-using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra;
-using System.Linq;
-using System.Threading.Tasks;
+using System;
using System.Collections.Generic;
using System.Dynamic;
-using System;
+using System.Linq;
+using System.Threading.Tasks;
+
+using Microsoft.Windows.Apps.Test.Foundation;
+using Microsoft.Windows.Apps.Test.Foundation.Controls;
#if USING_TAEF
using WEX.Logging.Interop;
@@ -20,9 +19,11 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
+using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common;
+using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra;
+
namespace UITests.Tests
{
-
[TestClass]
public class GridSplitterTest : UITestBase
{
diff --git a/UITests/UITests.Tests.Shared/Controls/RangeSelectorTest.cs b/UITests/UITests.Tests.Shared/Controls/RangeSelectorTest.cs
index 9306a8d793c..385271c42ee 100644
--- a/UITests/UITests.Tests.Shared/Controls/RangeSelectorTest.cs
+++ b/UITests/UITests.Tests.Shared/Controls/RangeSelectorTest.cs
@@ -3,8 +3,6 @@
// See the LICENSE file in the project root for more information.
using Microsoft.Windows.Apps.Test.Foundation.Controls;
-using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common;
-using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra;
#if USING_TAEF
using WEX.Logging.Interop;
@@ -14,9 +12,11 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
+using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common;
+using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra;
+
namespace UITests.Tests
{
-
[TestClass]
public class RangeSelectorTest : UITestBase
{
diff --git a/UITests/UITests.Tests.Shared/Controls/RichSuggestBoxTest.cs b/UITests/UITests.Tests.Shared/Controls/RichSuggestBoxTest.cs
index e29fe4f63a4..6d722bd945d 100644
--- a/UITests/UITests.Tests.Shared/Controls/RichSuggestBoxTest.cs
+++ b/UITests/UITests.Tests.Shared/Controls/RichSuggestBoxTest.cs
@@ -2,11 +2,11 @@
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
+using Microsoft.Windows.Apps.Test.Automation;
using Microsoft.Windows.Apps.Test.Foundation;
using Microsoft.Windows.Apps.Test.Foundation.Controls;
using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common;
using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra;
-using Microsoft.Windows.Apps.Test.Automation;
#if USING_TAEF
using WEX.Logging.Interop;
diff --git a/UITests/UITests.Tests.Shared/UITestBase.cs b/UITests/UITests.Tests.Shared/UITestBase.cs
index dda9ca51f68..d2a43582449 100644
--- a/UITests/UITests.Tests.Shared/UITestBase.cs
+++ b/UITests/UITests.Tests.Shared/UITestBase.cs
@@ -6,8 +6,6 @@
using System.IO;
using System.Linq;
using System.Reflection;
-using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common;
-using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra;
using System.Threading.Tasks;
#if USING_TAEF
@@ -18,6 +16,9 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
#endif
+using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Common;
+using Windows.UI.Xaml.Tests.MUXControls.InteractionTests.Infra;
+
namespace UITests.Tests
{
public abstract class UITestBase
diff --git a/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj b/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj
index 51c0f95d1a1..9af7e1d429d 100644
--- a/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj
+++ b/UnitTests/UnitTests.HighPerformance.UWP/UnitTests.HighPerformance.UWP.csproj
@@ -152,6 +152,10 @@
5.0.0
+
+
+ 4.0.1
+
diff --git a/UnitTests/UnitTests.NetCore/Mvvm/Test_ObservablePropertyAttribute.cs b/UnitTests/UnitTests.NetCore/Mvvm/Test_ObservablePropertyAttribute.cs
index f7c596ba438..1a483ae6ea1 100644
--- a/UnitTests/UnitTests.NetCore/Mvvm/Test_ObservablePropertyAttribute.cs
+++ b/UnitTests/UnitTests.NetCore/Mvvm/Test_ObservablePropertyAttribute.cs
@@ -235,7 +235,7 @@ public enum Animal
public partial class ModelWithValueProperty : ObservableObject
{
[ObservableProperty]
- private string value;
+ private string? value;
}
public partial class ModelWithValuePropertyWithValidation : ObservableValidator
@@ -243,7 +243,7 @@ public partial class ModelWithValuePropertyWithValidation : ObservableValidator
[ObservableProperty]
[Required]
[MinLength(5)]
- private string value;
+ private string? value;
}
}
}
diff --git a/UnitTests/UnitTests.Notifications.UWP/UnitTestApp.xaml.cs b/UnitTests/UnitTests.Notifications.UWP/UnitTestApp.xaml.cs
index bf39e92bb99..abd13ac74f9 100644
--- a/UnitTests/UnitTests.Notifications.UWP/UnitTestApp.xaml.cs
+++ b/UnitTests/UnitTests.Notifications.UWP/UnitTestApp.xaml.cs
@@ -16,6 +16,9 @@ namespace UnitTests.Notifications.UWP
///
public sealed partial class App : Application
{
+ ///
+ /// Initializes a new instance of the class.
+ ///
public App()
{
InitializeComponent();
diff --git a/UnitTests/UnitTests.Shared/.editorconfig b/UnitTests/UnitTests.Shared/.editorconfig
index 68caad1b9dc..9f4e6518a99 100644
--- a/UnitTests/UnitTests.Shared/.editorconfig
+++ b/UnitTests/UnitTests.Shared/.editorconfig
@@ -1,7 +1,17 @@
-[*.{cs,vb}]
-# SA1601: Partial elements should be documented
+# Analyzer Configurations for Unit Test sources
+
+# C# Source Files
+[*.cs]
+
+# A C# partial element is missing a documentation header.
dotnet_diagnostic.SA1601.severity = none
+
+# The Parameter has no matching param tag in the XML comment.
dotnet_diagnostic.CS1573.severity = none
+
+# Missing XML comment for publicly visible type or member.
dotnet_diagnostic.CS1591.severity = none
-dotnet_diagnostic.CS1712.severity = none
\ No newline at end of file
+
+# The Type parameter has no matching typeparam tag in the XML comment.
+dotnet_diagnostic.CS1712.severity = none