diff --git a/src/ProtocolBuffers/CodedInputStream.cs b/src/ProtocolBuffers/CodedInputStream.cs index e20ad0bbda..3306f309d4 100644 --- a/src/ProtocolBuffers/CodedInputStream.cs +++ b/src/ProtocolBuffers/CodedInputStream.cs @@ -113,14 +113,14 @@ namespace Google.ProtocolBuffers { /// byte array slice. /// public static CodedInputStream CreateInstance(byte[] buf, int offset, int length) { - return new CodedInputStream(buf, offset, length); + return new CodedInputStream(buf, offset, length); } private CodedInputStream(byte[] buffer, int offset, int length) { - this.buffer = buffer; - this.bufferPos = offset; - this.bufferSize = offset + length; - this.input = null; + this.buffer = buffer; + this.bufferPos = offset; + this.bufferSize = offset + length; + this.input = null; } private CodedInputStream(Stream input) {