Skip to content

Commit d22eade

Browse files
committed
Remove unneeded exception methods
1 parent 2ac8946 commit d22eade

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

csharp/src/Google.Protobuf/InvalidProtocolBufferException.cs

+1-16
Original file line numberDiff line numberDiff line change
@@ -136,20 +136,5 @@ internal static InvalidProtocolBufferException MissingFields()
136136
{
137137
return new InvalidProtocolBufferException("Message was missing required fields");
138138
}
139-
140-
internal static InvalidProtocolBufferException InvalidWrapperMessageLength()
141-
{
142-
return new InvalidProtocolBufferException("Wrapper type message length is incorrect.");
143-
}
144-
145-
internal static InvalidProtocolBufferException InvalidWrapperMessageTag()
146-
{
147-
return new InvalidProtocolBufferException("Wrapper type message tag is incorrect.");
148-
}
149-
150-
internal static InvalidProtocolBufferException InvalidWrapperMessageExtraFields()
151-
{
152-
return new InvalidProtocolBufferException("Wrapper type message contains invalid extra field(s).");
153-
}
154-
}
139+
}
155140
}

0 commit comments

Comments
 (0)