Permalink
Browse files

Changed the visibility of the Check class to internal.

  • Loading branch information...
1 parent 925d687 commit f3530c8083c8044ff6e7ec4736e5b19091af47c7 @sandord committed Mar 4, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Subspace.Imaging/Check.cs
@@ -11,7 +11,7 @@ namespace Subspace.Imaging
/// <summary>
/// Contains methods that perform condition checking.
/// </summary>
- public static class Check
+ internal static class Check
{
/// <summary>
/// Throws an exception of the specified type if the specified condition is false.
@@ -20,7 +20,7 @@ public static class Check
/// <param name="condition">The condition.</param>
/// <param name="argumentName">The name of the argument, if applicable for the specified exception.</param>
/// <param name="message">The message.</param>
- public static void Require<TException>(bool condition, string argumentName = null, string message = null)
+ internal static void Require<TException>(bool condition, string argumentName = null, string message = null)
where TException : Exception, new()
{
if (!condition)

0 comments on commit f3530c8

Please sign in to comment.