Skip to content

Commit 240f077

Browse files
committed
Fixed warnings in HighPerformance unit tests
1 parent 7b49dae commit 240f077

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_ReadOnlyRefEnumerable{T}.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
#if !WINDOWS_UWP
66

77
using System;
8+
using System.Diagnostics.CodeAnalysis;
89
using System.Runtime.CompilerServices;
910
using Microsoft.Toolkit.HighPerformance.Enumerables;
1011
using Microsoft.VisualStudio.TestTools.UnitTesting;
1112

1213
namespace UnitTests.HighPerformance.Enumerables
1314
{
1415
[TestClass]
16+
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1649", Justification = "Test class for generic type")]
1517
public class Test_ReadOnlyRefEnumerable
1618
{
1719
[TestCategory("ReadOnlyRefEnumerable")]

UnitTests/UnitTests.HighPerformance.Shared/Enumerables/Test_RefEnumerable{T}.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@
55
#if !WINDOWS_UWP
66

77
using System;
8+
using System.Diagnostics.CodeAnalysis;
89
using System.Runtime.CompilerServices;
910
using Microsoft.Toolkit.HighPerformance.Enumerables;
1011
using Microsoft.VisualStudio.TestTools.UnitTesting;
1112

1213
namespace UnitTests.HighPerformance.Enumerables
1314
{
1415
[TestClass]
16+
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1649", Justification = "Test class for generic type")]
1517
public class Test_RefEnumerable
1618
{
1719
[TestCategory("RefEnumerable")]

0 commit comments

Comments
 (0)