Commit 38032688 authored by Jon Skeet's avatar Jon Skeet

Make InvalidProtocolBufferException.InvalidTag internal.

We don't need to expose the InvalidProtocolBufferException factory method now that the generated code doesn't throw the exception.
parent 1a57ad8b
......@@ -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).");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment