Changes from code review
diff --git a/src/ProtocolBuffers/CodedOutputStream.cs b/src/ProtocolBuffers/CodedOutputStream.cs
index 709082a..b9c7b58 100644
--- a/src/ProtocolBuffers/CodedOutputStream.cs
+++ b/src/ProtocolBuffers/CodedOutputStream.cs
@@ -57,7 +57,7 @@
/// methods are taken from the protocol buffer type names, not .NET types.
/// (Hence WriteFloat instead of WriteSingle, and WriteBool instead of WriteBoolean.)
/// </remarks>
- public sealed partial class CodedOutputStream : ICodedOutputStream, IDisposable
+ public sealed partial class CodedOutputStream : ICodedOutputStream
{
/// <summary>
/// The buffer size used by CreateInstance(Stream).
@@ -126,18 +126,6 @@
#endregion
- public void Dispose()
- {
- if (output != null)
- {
- if (position > 0)
- {
- Flush();
- }
- output.Dispose();
- }
- }
-
void ICodedOutputStream.WriteMessageStart() { }
void ICodedOutputStream.WriteMessageEnd() { Flush(); }