Remove unneeded exception methods

pull/6843/head
Chris Bacon 5 years ago
parent 2ac8946ee3
commit d22eaded5c
  1. 17
      csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs

@ -136,20 +136,5 @@ namespace Google.Protobuf
{
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).");
}
}
}
}
Loading…
Cancel
Save