diff options
author | Jon Skeet <jonskeet@google.com> | 2015-08-05 17:48:53 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-08-05 17:48:53 +0100 |
commit | 38032688a7faf4eef2cac392b9e69697a202fe62 (patch) | |
tree | 48e9e14f18ee1ff081df8d26a361665b9d458f74 | |
parent | 1a57ad8b414d7b627cc8c68efc5c4fd9ce72e3da (diff) | |
download | protobuf-38032688a7faf4eef2cac392b9e69697a202fe62.tar.gz protobuf-38032688a7faf4eef2cac392b9e69697a202fe62.tar.bz2 protobuf-38032688a7faf4eef2cac392b9e69697a202fe62.zip |
Make InvalidProtocolBufferException.InvalidTag internal.
We don't need to expose the InvalidProtocolBufferException factory method now that the generated code doesn't throw the exception.
-rw-r--r-- | csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs b/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs index bbba9b3b..6905a6a3 100644 --- a/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs +++ b/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs @@ -70,7 +70,7 @@ namespace Google.Protobuf /// <summary>
/// Creates an exception for an error condition of an invalid tag being encountered.
/// </summary>
- public static InvalidProtocolBufferException InvalidTag()
+ internal static InvalidProtocolBufferException InvalidTag()
{
return new InvalidProtocolBufferException(
"Protocol message contained an invalid tag (zero).");
|