Skip to content

Commit

Permalink
Remove unneeded exception methods
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdunelm committed Nov 5, 2019
1 parent 2ac8946 commit d22eade
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs
Expand Up @@ -136,20 +136,5 @@ internal static InvalidProtocolBufferException MissingFields()
{
return new InvalidProtocolBufferException("Message was missing required fields");
}

internal static InvalidProtocolBufferException InvalidWrapperMessageLength()
{
return new InvalidProtocolBufferException("Wrapper type message length is incorrect.");
}

internal static InvalidProtocolBufferException InvalidWrapperMessageTag()
{
return new InvalidProtocolBufferException("Wrapper type message tag is incorrect.");
}

internal static InvalidProtocolBufferException InvalidWrapperMessageExtraFields()
{
return new InvalidProtocolBufferException("Wrapper type message contains invalid extra field(s).");
}
}
}
}

0 comments on commit d22eade

Please sign in to comment.