aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs
diff options
context:
space:
mode:
authorGravatar Jon Skeet <jonskeet@google.com>2015-08-05 17:48:53 +0100
committerGravatar Jon Skeet <jonskeet@google.com>2015-08-05 17:48:53 +0100
commit38032688a7faf4eef2cac392b9e69697a202fe62 (patch)
tree48e9e14f18ee1ff081df8d26a361665b9d458f74 /csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs
parent1a57ad8b414d7b627cc8c68efc5c4fd9ce72e3da (diff)
Make InvalidProtocolBufferException.InvalidTag internal.
We don't need to expose the InvalidProtocolBufferException factory method now that the generated code doesn't throw the exception.
Diffstat (limited to 'csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs')
-rw-r--r--csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs2
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).");