aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers.Serialization/AbstractTextReader.cs
diff options
context:
space:
mode:
authorJon Skeet <skeet@pobox.com>2012-06-04 10:46:02 +0100
committerJon Skeet <skeet@pobox.com>2012-06-04 10:46:02 +0100
commit2be3870a5f16f9f6e7788b1696748c872a765875 (patch)
tree9a9f4d56ba761a09ef363e7a4aa81dc21702448f /src/ProtocolBuffers.Serialization/AbstractTextReader.cs
parent57e5746a398e0f61a9170ee053a93ad4a001581c (diff)
downloadprotobuf-2be3870a5f16f9f6e7788b1696748c872a765875.tar.gz
protobuf-2be3870a5f16f9f6e7788b1696748c872a765875.tar.bz2
protobuf-2be3870a5f16f9f6e7788b1696748c872a765875.zip
Change "typeof (Foo)" to "typeof(Foo)" everywhere. I have no idea why I used to
include the space - it definitely doesn't look idiomatic...
Diffstat (limited to 'src/ProtocolBuffers.Serialization/AbstractTextReader.cs')
-rw-r--r--src/ProtocolBuffers.Serialization/AbstractTextReader.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ProtocolBuffers.Serialization/AbstractTextReader.cs b/src/ProtocolBuffers.Serialization/AbstractTextReader.cs
index ddfa6436..8cac696c 100644
--- a/src/ProtocolBuffers.Serialization/AbstractTextReader.cs
+++ b/src/ProtocolBuffers.Serialization/AbstractTextReader.cs
@@ -23,7 +23,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool Read(ref string value)
{
string text = null;
- if (ReadAsText(ref text, typeof (string)))
+ if (ReadAsText(ref text, typeof(string)))
{
value = text;
return true;
@@ -37,7 +37,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool Read(ref bool value)
{
string text = null;
- if (ReadAsText(ref text, typeof (bool)))
+ if (ReadAsText(ref text, typeof(bool)))
{
value = XmlConvert.ToBoolean(text);
return true;
@@ -51,7 +51,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool Read(ref int value)
{
string text = null;
- if (ReadAsText(ref text, typeof (int)))
+ if (ReadAsText(ref text, typeof(int)))
{
value = XmlConvert.ToInt32(text);
return true;
@@ -66,7 +66,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool Read(ref uint value)
{
string text = null;
- if (ReadAsText(ref text, typeof (uint)))
+ if (ReadAsText(ref text, typeof(uint)))
{
value = XmlConvert.ToUInt32(text);
return true;
@@ -80,7 +80,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool Read(ref long value)
{
string text = null;
- if (ReadAsText(ref text, typeof (long)))
+ if (ReadAsText(ref text, typeof(long)))
{
value = XmlConvert.ToInt64(text);
return true;
@@ -95,7 +95,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool Read(ref ulong value)
{
string text = null;
- if (ReadAsText(ref text, typeof (ulong)))
+ if (ReadAsText(ref text, typeof(ulong)))
{
value = XmlConvert.ToUInt64(text);
return true;
@@ -109,7 +109,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool Read(ref float value)
{
string text = null;
- if (ReadAsText(ref text, typeof (float)))
+ if (ReadAsText(ref text, typeof(float)))
{
value = XmlConvert.ToSingle(text);
return true;
@@ -123,7 +123,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool Read(ref double value)
{
string text = null;
- if (ReadAsText(ref text, typeof (double)))
+ if (ReadAsText(ref text, typeof(double)))
{
value = XmlConvert.ToDouble(text);
return true;
@@ -145,7 +145,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool Read(ref ByteString value)
{
string text = null;
- if (ReadAsText(ref text, typeof (ByteString)))
+ if (ReadAsText(ref text, typeof(ByteString)))
{
value = DecodeBytes(text);
return true;
@@ -160,7 +160,7 @@ namespace Google.ProtocolBuffers.Serialization
protected override bool ReadEnum(ref object value)
{
string text = null;
- if (ReadAsText(ref text, typeof (Enum)))
+ if (ReadAsText(ref text, typeof(Enum)))
{
int number;
if (int.TryParse(text, NumberStyles.Integer, CultureInfo.InvariantCulture, out number))