Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Fix duplicate warning about duplicate types
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronRobinsonMSFT committed Sep 12, 2018
1 parent 7546d3e commit cb26531
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/src/Interop/common/Assertion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace CoreFXTestLibrary
/// unit tests. If the condition being tested is not met, an exception
/// is thrown.
/// </summary>
public static class Assert
internal static class Assert
{
/// <summary>
/// Asserts that the given delegate throws an <see cref="ArgumentNullException"/> with the given parameter name.
Expand Down Expand Up @@ -771,7 +771,7 @@ private static async Task<Exception> RunWithCatchAsync(Func<Task> action)
/// <summary>
/// Exception raised by the Assert on Fail
/// </summary>
public class AssertTestException : Exception
internal class AssertTestException : Exception
{
public AssertTestException(string message)
: base(message)
Expand All @@ -784,7 +784,7 @@ public AssertTestException()
}
}

public static class ExceptionAssert
internal static class ExceptionAssert
{
public static void Throws<T>(String message, Action a) where T : Exception
{
Expand All @@ -796,7 +796,7 @@ public static void Throws<T>(String message, Action a) where T : Exception
/// Specifies whether <see cref="Assert.Throws{T}"/> should require an exact type match when comparing the expected exception type with the thrown exception.
/// </summary>
[Flags]
public enum AssertThrowsOptions
internal enum AssertThrowsOptions
{
/// <summary>
/// Specifies that <see cref="Assert.Throws{T}"/> should require an exact type
Expand Down

0 comments on commit cb26531

Please sign in to comment.