diff options
author | Jon Skeet <skeet@pobox.com> | 2012-06-04 10:46:02 +0100 |
---|---|---|
committer | Jon Skeet <skeet@pobox.com> | 2012-06-04 10:46:02 +0100 |
commit | 2be3870a5f16f9f6e7788b1696748c872a765875 (patch) | |
tree | 9a9f4d56ba761a09ef363e7a4aa81dc21702448f /src/ProtocolBuffers.Serialization/AbstractReader.cs | |
parent | 57e5746a398e0f61a9170ee053a93ad4a001581c (diff) | |
download | protobuf-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.cs | 6 |
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
{
|