diff --git a/X10D/src/BooleanExtensions.cs b/X10D/src/BooleanExtensions.cs
index 54e8ac4..2286b68 100644
--- a/X10D/src/BooleanExtensions.cs
+++ b/X10D/src/BooleanExtensions.cs
@@ -5,60 +5,60 @@
///
public static class BooleanExtensions
{
-
///
- /// Gets the value of this boolean and another boolean.
+ /// Performs logical AND on this and another .
///
/// The boolean.
/// The boolean comparator.
- /// Returns when and are
- /// Otherwise, the output is .
+ /// Returns if AND
+ /// evaluate to , or otherwise.
public static bool And(this bool value, bool comparison)
{
return value && comparison;
}
///
- /// Gets the value of this boolean and another boolean.
+ /// Performs logical NAND on this and another .
///
/// The boolean.
/// The boolean comparator.
- /// Returns if and are
- /// . Otherwise, .
+ /// Returns if NAND
+ /// evaluate to , or otherwise.
public static bool NAnd(this bool value, bool comparison)
{
return !(value && comparison);
}
///
- /// Gets the value of this boolean and another boolean.
+ /// Performs logical NOR on this and another .
///
/// The boolean.
/// The boolean comparator.
- /// Returns if and are
- /// . Otherwise, .
+ /// Returns if NOR
+ /// evaluate to , or otherwise.
public static bool NOr(this bool value, bool comparison)
{
return !(value || comparison);
}
///
- /// Toggles this booleans current state.
+ /// Performs logical NOT on this .
///
/// The boolean.
- /// Returns the opposite state of this boolean.
- public static bool Not(this ref bool value)
+ /// Returns if is ,
+ /// or otherwise.
+ public static bool Not(this bool value)
{
- return value = !value;
+ return !value;
}
///
- /// Gets the value of this boolean or another boolean.
+ /// Performs logical OR on this and another .
///
/// The boolean.
/// The boolean comparator.
- /// Returns if or is
- /// .
+ /// Returns if OR
+ /// evaluate to , or otherwise.
public static bool Or(this bool value, bool comparison)
{
return value || comparison;
@@ -85,25 +85,24 @@
}
///
- /// Gets the value of this boolean and another boolean.
+ /// Performs logical XNOR on this and another .
///
/// The boolean.
/// The boolean comparator.
- /// Returns if and are
- /// the same, Otherwise .
+ /// Returns if XNOR
+ /// evaluate to , or otherwise.
public static bool XNOr(this bool value, bool comparison)
{
return !(value ^ comparison);
}
///
- /// Gets the value of this boolean exclusively or another boolean.
+ /// Performs logical XOR on this and another .
///
/// The boolean.
/// The boolean comparator.
- /// Returns if and are
- /// or if and are
- /// .
+ /// Returns if XOR
+ /// evaluate to , or otherwise.
public static bool XOr(this bool value, bool comparison)
{
return value ^ comparison;