diff options
author | csharptest <roger@csharptest.net> | 2011-06-03 12:58:14 -0500 |
---|---|---|
committer | rogerk <devnull@localhost> | 2011-06-03 12:58:14 -0500 |
commit | ffafdaa0f9a96d17d456c844a3e554512a5c121d (patch) | |
tree | da8bb40d40228429fa4b846bc7ef29c06e717e82 /src/ProtocolBuffers/UnknownField.cs | |
parent | cc8d2aaa3a0b6bed6677fd488bc7deecd90f5604 (diff) | |
download | protobuf-ffafdaa0f9a96d17d456c844a3e554512a5c121d.tar.gz protobuf-ffafdaa0f9a96d17d456c844a3e554512a5c121d.tar.bz2 protobuf-ffafdaa0f9a96d17d456c844a3e554512a5c121d.zip |
Fully converted over to ICodedOutputStream for all WriteTo derivations
Diffstat (limited to 'src/ProtocolBuffers/UnknownField.cs')
-rw-r--r-- | src/ProtocolBuffers/UnknownField.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ProtocolBuffers/UnknownField.cs b/src/ProtocolBuffers/UnknownField.cs index d3a73799..edbbc29e 100644 --- a/src/ProtocolBuffers/UnknownField.cs +++ b/src/ProtocolBuffers/UnknownField.cs @@ -174,7 +174,7 @@ namespace Google.ProtocolBuffers /// Serializes the field, including the field number, and writes it to
/// <paramref name="output"/>.
/// </summary>
- public void WriteTo(int fieldNumber, CodedOutputStream output)
+ public void WriteTo(int fieldNumber, ICodedOutputStream output)
{
foreach (ulong value in varintList)
{
@@ -238,11 +238,11 @@ namespace Google.ProtocolBuffers /// </summary>
/// <param name="fieldNumber"></param>
/// <param name="output"></param>
- public void WriteAsMessageSetExtensionTo(int fieldNumber, CodedOutputStream output)
+ public void WriteAsMessageSetExtensionTo(int fieldNumber, ICodedOutputStream output)
{
foreach (ByteString value in lengthDelimitedList)
{
- output.WriteRawMessageSetExtension(fieldNumber, value);
+ output.WriteMessageSetExtension(fieldNumber, UnknownFieldName, value);
}
}
|