Read() public method

public Read ( __BinaryParser input ) : void
input __BinaryParser
return void
 private void ReadMessageEnd()
 {
     if (messageEnd == null)
     {
         messageEnd = new MessageEnd();
     }
     messageEnd.Read(this);
     messageEnd.Dump();
     if (!this.stack.IsEmpty())
     {
         throw new SerializationException(Environment.GetResourceString("Serialization_StreamEnd"));
     }
 }
Beispiel #2
0
        private void ReadMessageEnd()
        {
            if (_messageEnd == null)
            {
                _messageEnd = new MessageEnd();
            }
            _messageEnd.Read(this);

            if (!_stack.IsEmpty())
            {
                throw new SerializationException(SR.Serialization_StreamEnd);
            }
        }
        private void ReadMessageEnd()
        {
            SerTrace.Log(this, "ReadMessageEnd ");

            if (messageEnd == null)
            {
                messageEnd = new MessageEnd();
            }

            messageEnd.Read(this);

            messageEnd.Dump();

            if (!stack.IsEmpty())
            {
                SerTrace.Log(this, "ReadMessageEnd  Stack not empty ");
                stack.Dump();
                throw new SerializationException(Environment.GetResourceString("Serialization_StreamEnd"));
            }
        }