aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers.Serialization/AbstractReader.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/AbstractReader.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/AbstractReader.cs')
-rw-r--r--src/ProtocolBuffers.Serialization/AbstractReader.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ProtocolBuffers.Serialization/AbstractReader.cs b/src/ProtocolBuffers.Serialization/AbstractReader.cs
index f3e6fd6f..3c60139a 100644
--- a/src/ProtocolBuffers.Serialization/AbstractReader.cs
+++ b/src/ProtocolBuffers.Serialization/AbstractReader.cs
@@ -468,7 +468,7 @@ namespace Google.ProtocolBuffers.Serialization
rawValue = null;
if (ReadEnum(ref rawValue))
{
- if (Enum.IsDefined(typeof (T), rawValue))
+ if (Enum.IsDefined(typeof(T), rawValue))
{
if (rawValue is int)
{
@@ -476,7 +476,7 @@ namespace Google.ProtocolBuffers.Serialization
}
else if (rawValue is string)
{
- value = (T) Enum.Parse(typeof (T), (string) rawValue, false);
+ value = (T) Enum.Parse(typeof(T), (string) rawValue, false);
}
else
{
@@ -565,7 +565,7 @@ namespace Google.ProtocolBuffers.Serialization
}
else if (rawValue is string)
{
- list.Add((T) Enum.Parse(typeof (T), (string) rawValue, false));
+ list.Add((T) Enum.Parse(typeof(T), (string) rawValue, false));
}
else
{