Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed the visibility of the Check class to internal.

  • Loading branch information...
commit f3530c8083c8044ff6e7ec4736e5b19091af47c7 1 parent 925d687
Sandor Drieënhuizen authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Subspace.Imaging/Check.cs
4 src/Subspace.Imaging/Check.cs
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.