17 writes to PRnewObj
mscorlib (17)
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (13)
500
pr.
PRnewObj
= new TypeLoadExceptionHolder(pr.PRkeyDt);
509
pr.
PRnewObj
= pr.PRvalue;
539
pr.
PRnewObj
= FormatterServices.GetSafeUninitializedObject(pr.PRdtType);
542
pr.
PRnewObj
= FormatterServices.GetUninitializedObject(pr.PRdtType);
598
objectPr.
PRnewObj
= objectPr.PRvalue;
679
pr.
PRnewObj
= Convert.FromBase64String(pr.PRvalue);
681
pr.
PRnewObj
= new Byte[0];
724
pr.
PRnewObj
= pr.PRobjectA;
730
pr.
PRnewObj
= pr.PRobjectA;
734
pr.
PRnewObj
= Array.UnsafeCreateInstance(pr.PRarrayElementType, pr.PRlengthA[0]);
741
pr.
PRnewObj
= Array.UnsafeCreateInstance(pr.PRarrayElementType, pr.PRlengthA, pr.PRlowerBoundA);
787
pr.
PRnewObj
= Array.UnsafeCreateInstance(pr.PRarrayElementType, pr.PRlengthA);
789
pr.
PRnewObj
= Array.UnsafeCreateInstance(pr.PRarrayElementType, pr.PRlengthA, pr.PRlowerBoundA);
system\runtime\serialization\formatters\binary\binaryparser.cs (3)
1012
pr.
PRnewObj
= ReadBytes(pr.PRlengthA[0]);
1014
pr.
PRnewObj
= ReadChars(pr.PRlengthA[0]);
1019
pr.
PRnewObj
= Converter.CreatePrimitiveArray(pr.PRarrayElementTypeCode, pr.PRlengthA[0]);
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (1)
204
PRnewObj
= null;
47 references to PRnewObj
mscorlib (47)
system\runtime\serialization\formatters\binary\binaryobjectreader.cs (44)
515
TopObject = pr.
PRnewObj
;
525
RegisterObject(pr.
PRnewObj
, pr, (ParseRecord)stack.Peek());
545
m_objectManager.RaiseOnDeserializingEvent(pr.
PRnewObj
);
548
if (pr.
PRnewObj
== null)
556
TopObject = pr.
PRnewObj
;
599
TopObject = objectPr.
PRnewObj
;
607
if (objectPr.
PRnewObj
== null)
617
TopObject = objectPr.
PRnewObj
;
623
RegisterObject(objectPr.
PRnewObj
, objectPr, parentPr);
628
objectPr.PRobjectInfo.PopulateObjectMembers(objectPr.
PRnewObj
, objectPr.PRmemberData);
636
RegisterObject(objectPr.
PRnewObj
, objectPr, parentPr);
654
TopObject = objectPr.
PRnewObj
;
690
TopObject = pr.
PRnewObj
;
696
SerTrace.Log( this, "ParseArray RegisterObject ",pr.PRobjectId," ",pr.
PRnewObj
.GetType());
697
RegisterObject(pr.
PRnewObj
, pr, parentPr);
700
else if ((pr.
PRnewObj
!= null) && Converter.IsWriteAsByteArray(pr.PRarrayElementTypeCode))
705
TopObject = pr.
PRnewObj
;
711
SerTrace.Log( this, "ParseArray RegisterObject ",pr.PRobjectId," ",pr.
PRnewObj
.GetType());
712
RegisterObject(pr.
PRnewObj
, pr, parentPr);
750
pr.PRprimitiveArray = new PrimitiveArray(pr.PRarrayElementTypeCode, (Array)pr.
PRnewObj
);
755
pr.PRobjectA = (Object[])pr.
PRnewObj
;
759
SerTrace.Log( this, "ParseArray Jagged,Simple Array ",pr.
PRnewObj
.GetType());
765
headers = (Header[])pr.
PRnewObj
;
792
SerTrace.Log( this, "ParseArray Rectangle Array ",pr.
PRnewObj
.GetType()," lower Bound ",pr.PRisLowerBound);
891
IndexTraceMessage("ParseArrayMember Record Fixup "+objectPr.
PRnewObj
.GetType(), objectPr.PRindexMap);
900
IndexTraceMessage("ParseArrayMember SetValue ObjectReference "+objectPr.
PRnewObj
.GetType()+" "+refObj, objectPr.PRindexMap);
904
((Array)objectPr.
PRnewObj
).SetValue(refObj, objectPr.PRindexMap); // Object has been instantiated
926
ValueFixupStack.Push(new ValueFixup((Array)objectPr.
PRnewObj
, objectPr.PRindexMap)); //valuefixup
939
objectPr.PRobjectA[objectPr.PRindexMap[0]] = pr.
PRnewObj
;
941
((Array)objectPr.
PRnewObj
).SetValue(pr.
PRnewObj
, objectPr.PRindexMap);
951
IndexTraceMessage("ParseArrayMember SetValue String "+objectPr.
PRnewObj
.GetType()+" "+pr.PRvalue, objectPr.PRindexMap);
955
((Array)objectPr.
PRnewObj
).SetValue((Object)pr.PRvalue, objectPr.PRindexMap);
988
IndexTraceMessage("ParseArrayMember SetValue variant or Object "+objectPr.
PRnewObj
.GetType()+" var "+var+" indexMap ", objectPr.PRindexMap);
992
((Array)objectPr.
PRnewObj
).SetValue(var, objectPr.PRindexMap); // Primitive type
1011
IndexTraceMessage("ParseArrayMember SetValue Primitive "+objectPr.
PRnewObj
.GetType()+" var: "+var+" varType "+var.GetType(), objectPr.PRindexMap);
1018
((Array)objectPr.
PRnewObj
).SetValue(var, objectPr.PRindexMap); // Primitive type
1096
SerTrace.Log( this, "ParseMember Nested Type member: ",pr.PRname," objectPr.PRnewObj ",objectPr.
PRnewObj
);
1099
SerTrace.Log( this, "AddValue 2 ",pr.
PRnewObj
," is value type ",pr.
PRnewObj
.GetType().IsValueType);
1103
SerTrace.Log( "ParseMember ValueType ObjectPr ",objectPr.
PRnewObj
," memberName ",pr.PRname," nested object ",pr.
PRnewObj
);
1105
ValueFixupStack.Push(new ValueFixup(objectPr.
PRnewObj
, pr.PRname, objectPr.PRobjectInfo));//valuefixup
1110
objectPr.PRobjectInfo.AddValue(pr.PRname, pr.
PRnewObj
, ref objectPr.PRsi, ref objectPr.PRmemberData);
system\runtime\serialization\formatters\binary\binaryparser.cs (2)
1022
Contract.Assert((pr.
PRnewObj
!= null),"[BinaryParser expected a Primitive Array]");
1024
Array array = (Array)pr.
PRnewObj
;
system\runtime\serialization\formatters\binary\binaryutilclasses.cs (1)
688
Object obj = record.
PRnewObj
;