ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/RomCheater.Logging/EnumNameValuePair.cs
(Generate patch)

Comparing trunk/RomCheater.Logging/EnumNameValuePair.cs (file contents):
Revision 268 by william, Sun Jun 3 19:47:47 2012 UTC vs.
Revision 269 by william, Sun Jun 3 20:40:36 2012 UTC

# Line 161 | Line 161 | namespace RomCheater.Logging
161          {
162              return bitwise_or(new EnumNameValuePair<TValue>("",x), new EnumNameValuePair<TValue>("",y));
163          }
164 <        internal static TValue bitwise_or(params EnumNameValuePair<TValue>[] values)
164 >        public static TValue bitwise_or(params EnumNameValuePair<TValue>[] values)
165          {
166              if (!(values.Length > 1 )) { throw new InvalidOperationException("bitwise_or must have at least two operands"); }
167              TValue value = default(TValue);
# Line 173 | Line 173 | namespace RomCheater.Logging
173          {
174              return bitwise_and(new EnumNameValuePair<TValue>("", x), new EnumNameValuePair<TValue>("", y));
175          }
176 <        internal static TValue bitwise_and(params EnumNameValuePair<TValue>[] values)
176 >        public static TValue bitwise_and(params EnumNameValuePair<TValue>[] values)
177          {
178              if (!(values.Length > 1)) { throw new InvalidOperationException("bitwise_and must have at least two operands"); }
179              TValue value = default(TValue);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines