System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadMethodObject C# (CSharp) Method

ReadMethodObject() private method

private ReadMethodObject ( BinaryHeaderEnum binaryHeaderEnum ) : void
binaryHeaderEnum BinaryHeaderEnum
return void
		internal void ReadMethodObject(BinaryHeaderEnum binaryHeaderEnum)
		{
			SerTrace.Log( this, "ReadMethodObject");
			if (binaryHeaderEnum == BinaryHeaderEnum.MethodCall)
			{
				BinaryMethodCall record = new BinaryMethodCall();
				record.Read(this);
				record.Dump();
				objectReader.SetMethodCall(record);
			}
			else
			{
				BinaryMethodReturn record = new BinaryMethodReturn();
				record.Read(this);
				record.Dump();
				objectReader.SetMethodReturn(record);
			}
		}