diff options
-rw-r--r-- | cs-dotnet/src/gatsdictionary.cs | 2 | ||||
-rw-r--r-- | cs-dotnet/src/gatsfloat.cs | 12 | ||||
-rw-r--r-- | cs-dotnet/src/gatsobject.cs | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/cs-dotnet/src/gatsdictionary.cs b/cs-dotnet/src/gatsdictionary.cs index 77d088c..f80d3cb 100644 --- a/cs-dotnet/src/gatsdictionary.cs +++ b/cs-dotnet/src/gatsdictionary.cs | |||
@@ -34,7 +34,7 @@ namespace Com.Xagasoft.Gats | |||
34 | /// use a GatsDictionary just like the .NET standard Dictionary. | 34 | /// use a GatsDictionary just like the .NET standard Dictionary. |
35 | /// </remarks> | 35 | /// </remarks> |
36 | public class GatsDictionary : GatsObject, IDictionary<string, GatsObject> | 36 | public class GatsDictionary : GatsObject, IDictionary<string, GatsObject> |
37 | // ICollection<KeyValuePair<string, GatsObject>>, | 37 | // ICollection<KeyValuePair<string, GatsObject>>, |
38 | // IEnumerable<KeyValuePair<string, GatsObject>> | 38 | // IEnumerable<KeyValuePair<string, GatsObject>> |
39 | { | 39 | { |
40 | private Dictionary<string, GatsObject> Value = | 40 | private Dictionary<string, GatsObject> Value = |
diff --git a/cs-dotnet/src/gatsfloat.cs b/cs-dotnet/src/gatsfloat.cs index 9763855..1fe6c00 100644 --- a/cs-dotnet/src/gatsfloat.cs +++ b/cs-dotnet/src/gatsfloat.cs | |||
@@ -64,12 +64,12 @@ namespace Com.Xagasoft.Gats | |||
64 | throw new GatsException( GatsException.Type.PrematureEnd ); | 64 | throw new GatsException( GatsException.Type.PrematureEnd ); |
65 | switch( (char)subType ) | 65 | switch( (char)subType ) |
66 | { | 66 | { |
67 | case 'N': Value = -Double.NaN; break; | 67 | case 'N': Value = -Double.NaN; break; |
68 | case 'n': Value = Double.NaN; break; | 68 | case 'n': Value = Double.NaN; break; |
69 | case 'I': Value = Double.NegativeInfinity; break; | 69 | case 'I': Value = Double.NegativeInfinity; break; |
70 | case 'i': Value = Double.PositiveInfinity; break; | 70 | case 'i': Value = Double.PositiveInfinity; break; |
71 | case 'Z': Value = -0.0; break; | 71 | case 'Z': Value = -0.0; break; |
72 | case 'z': Value = 0.0; break; | 72 | case 'z': Value = 0.0; break; |
73 | } | 73 | } |
74 | } | 74 | } |
75 | else if( type == 'f' ) | 75 | else if( type == 'f' ) |
diff --git a/cs-dotnet/src/gatsobject.cs b/cs-dotnet/src/gatsobject.cs index 57da747..161bd3a 100644 --- a/cs-dotnet/src/gatsobject.cs +++ b/cs-dotnet/src/gatsobject.cs | |||
@@ -100,9 +100,9 @@ namespace Com.Xagasoft.Gats | |||
100 | 100 | ||
101 | default: | 101 | default: |
102 | throw new GatsException( GatsException.Type.InvalidType ); | 102 | throw new GatsException( GatsException.Type.InvalidType ); |
103 | } | 103 | } |
104 | 104 | ||
105 | ret.Read( s, type ); | 105 | ret.Read( s, type ); |
106 | 106 | ||
107 | return ret; | 107 | return ret; |
108 | } | 108 | } |