aboutsummaryrefslogtreecommitdiff
path: root/src/ProtocolBuffers/CodedInputStream.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/CodedInputStream.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/CodedInputStream.cs')
-rw-r--r--src/ProtocolBuffers/CodedInputStream.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtocolBuffers/CodedInputStream.cs b/src/ProtocolBuffers/CodedInputStream.cs
index 9dadf306..be88d154 100644
--- a/src/ProtocolBuffers/CodedInputStream.cs
+++ b/src/ProtocolBuffers/CodedInputStream.cs
@@ -467,7 +467,7 @@ namespace Google.ProtocolBuffers
where T : struct, IComparable, IFormattable, IConvertible
{
int number = (int) ReadRawVarint32();
- if (Enum.IsDefined(typeof (T), number))
+ if (Enum.IsDefined(typeof(T), number))
{
unknown = null;
value = (T) (object) number;