Commit 75b513a3 authored by Rob Sigrest's avatar Rob Sigrest

Fixing space/tab issues

parent 2f7eeb21
using System; using System;
#if CORE_CLR #if CORE_CLR
using System.Collections.Generic; using System.Collections.Generic;
using System.Reflection; using System.Reflection;
...@@ -280,7 +280,7 @@ public int CompareTo(RedisValue other) ...@@ -280,7 +280,7 @@ public int CompareTo(RedisValue other)
double thisDouble, otherDouble; double thisDouble, otherDouble;
CompareType thisType = this.ResolveType(out thisInt64, out thisDouble), CompareType thisType = this.ResolveType(out thisInt64, out thisDouble),
otherType = other.ResolveType(out otherInt64, out otherDouble); otherType = other.ResolveType(out otherInt64, out otherDouble);
if(thisType == CompareType.Null) if(thisType == CompareType.Null)
{ {
return otherType == CompareType.Null ? 0 : -1; return otherType == CompareType.Null ? 0 : -1;
...@@ -511,7 +511,7 @@ static bool TryParseDouble(byte[] blob, out double value) ...@@ -511,7 +511,7 @@ static bool TryParseDouble(byte[] blob, out double value)
if (valueBlob == IntegerSentinel) if (valueBlob == IntegerSentinel)
return Format.ToString(value.valueInt64); return Format.ToString(value.valueInt64);
if (valueBlob == null) return null; if (valueBlob == null) return null;
if (valueBlob.Length == 0) return ""; if (valueBlob.Length == 0) return "";
try try
{ {
...@@ -597,7 +597,7 @@ object IConvertible.ToType(Type conversionType, IFormatProvider provider) ...@@ -597,7 +597,7 @@ object IConvertible.ToType(Type conversionType, IFormatProvider provider)
/// <summary> /// <summary>
/// Convert to a long if possible, returning true. /// Convert to a long if possible, returning true.
/// ///
/// Returns false otherwise. /// Returns false otherwise.
/// </summary> /// </summary>
public bool TryParse(out long val) public bool TryParse(out long val)
...@@ -621,7 +621,7 @@ public bool TryParse(out long val) ...@@ -621,7 +621,7 @@ public bool TryParse(out long val)
/// <summary> /// <summary>
/// Convert to a int if possible, returning true. /// Convert to a int if possible, returning true.
/// ///
/// Returns false otherwise. /// Returns false otherwise.
/// </summary> /// </summary>
public bool TryParse(out int val) public bool TryParse(out int val)
...@@ -639,7 +639,7 @@ public bool TryParse(out int val) ...@@ -639,7 +639,7 @@ public bool TryParse(out int val)
/// <summary> /// <summary>
/// Convert to a double if possible, returning true. /// Convert to a double if possible, returning true.
/// ///
/// Returns false otherwise. /// Returns false otherwise.
/// </summary> /// </summary>
public bool TryParse(out double val) public bool TryParse(out double val)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment