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/MessageUtil.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/MessageUtil.cs')
-rw-r--r-- | src/ProtocolBuffers/MessageUtil.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ProtocolBuffers/MessageUtil.cs b/src/ProtocolBuffers/MessageUtil.cs index a32bda88..d120d209 100644 --- a/src/ProtocolBuffers/MessageUtil.cs +++ b/src/ProtocolBuffers/MessageUtil.cs @@ -65,7 +65,7 @@ namespace Google.ProtocolBuffers throw new ArgumentException("Unable to get a default message for an abstract or generic type (" +
type.FullName + ")");
}
- if (!typeof (IMessage).IsAssignableFrom(type))
+ if (!typeof(IMessage).IsAssignableFrom(type))
{
throw new ArgumentException("Unable to get a default message for non-message type (" + type.FullName +
")");
|