From 7e388fef2abb3abbb1f3d5ee9fcf687d454de39c Mon Sep 17 00:00:00 2001 From: Aaron Robinson Date: Wed, 12 Sep 2018 14:07:25 -0700 Subject: [PATCH] Fix duplicate warning about duplicate types --- tests/src/Interop/common/Assertion.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/src/Interop/common/Assertion.cs b/tests/src/Interop/common/Assertion.cs index 30dd072a7581..4a7bd6373281 100644 --- a/tests/src/Interop/common/Assertion.cs +++ b/tests/src/Interop/common/Assertion.cs @@ -15,7 +15,7 @@ namespace CoreFXTestLibrary /// unit tests. If the condition being tested is not met, an exception /// is thrown. /// - public static class Assert + internal static class Assert { /// /// Asserts that the given delegate throws an with the given parameter name. @@ -771,7 +771,7 @@ private static async Task RunWithCatchAsync(Func action) /// /// Exception raised by the Assert on Fail /// - public class AssertTestException : Exception + internal class AssertTestException : Exception { public AssertTestException(string message) : base(message) @@ -784,7 +784,7 @@ public AssertTestException() } } - public static class ExceptionAssert + internal static class ExceptionAssert { public static void Throws(String message, Action a) where T : Exception { @@ -796,7 +796,7 @@ public static void Throws(String message, Action a) where T : Exception /// Specifies whether should require an exact type match when comparing the expected exception type with the thrown exception. /// [Flags] - public enum AssertThrowsOptions + internal enum AssertThrowsOptions { /// /// Specifies that should require an exact type