internal ObjectMap(String objectName, Type objectType, String[] memberNames, ObjectReader objectReader, Int32 objectId, BinaryAssemblyInfo assemblyInfo)
{
SerTrace.Log( this, "Constructor 1 objectName ",objectName, ", objectType ",objectType);
this.objectName = objectName;
this.objectType = objectType;
this.memberNames = memberNames;
this.objectReader = objectReader;
this.objectId = objectId;
this.assemblyInfo = assemblyInfo;
objectInfo = objectReader.CreateReadObjectInfo(objectType);
memberTypes = objectInfo.GetMemberTypes(memberNames, objectType);
binaryTypeEnumA = new BinaryTypeEnum[memberTypes.Length];
typeInformationA = new Object[memberTypes.Length];
for (int i=0; i<memberTypes.Length; i++)
{
Object typeInformation = null;
BinaryTypeEnum binaryTypeEnum = BinaryConverter.GetParserBinaryTypeInfo(memberTypes[i], out typeInformation);
binaryTypeEnumA[i] = binaryTypeEnum;
typeInformationA[i] = typeInformation;
}
}