From 38032688a7faf4eef2cac392b9e69697a202fe62 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Wed, 5 Aug 2015 17:48:53 +0100 Subject: Make InvalidProtocolBufferException.InvalidTag internal. We don't need to expose the InvalidProtocolBufferException factory method now that the generated code doesn't throw the exception. --- csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csharp') 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 /// /// Creates an exception for an error condition of an invalid tag being encountered. /// - public static InvalidProtocolBufferException InvalidTag() + internal static InvalidProtocolBufferException InvalidTag() { return new InvalidProtocolBufferException( "Protocol message contained an invalid tag (zero)."); -- cgit v1.2.3