2 writes to cachedActivity
System.Workflow.ComponentModel (2)
AuthoringOM\Serializer\ActivitySurrogate.cs (2)
252
this.
cachedActivity
= (Activity)FormatterServices.GetUninitializedObject(this.cachedDefinitionActivity.GetType());
296
this.
cachedActivity
= null;
9 references to cachedActivity
System.Workflow.ComponentModel (9)
AuthoringOM\Serializer\ActivitySurrogate.cs (9)
249
if (this.
cachedActivity
== null)
254
return this.
cachedActivity
;
258
if (this.
cachedActivity
!= null)
262
MemberInfo[] members = FormatterServicesNoSerializableCheck.GetSerializableMembers(this.
cachedActivity
.GetType(), out currentMemberNames);
270
FormatterServices.PopulateObjectMembers(this.
cachedActivity
, members, new object[] { this.memberData, this.disposed });
275
FormatterServices.PopulateObjectMembers(this.
cachedActivity
, new MemberInfo[] { members[0] }, new object[] { this.memberData });
280
FormatterServices.PopulateObjectMembers(this.
cachedActivity
, new MemberInfo[] { members[1] }, new object[] { this.disposed });
293
FormatterServices.PopulateObjectMembers(this.
cachedActivity
, members, currentMemberDatas);
295
this.
cachedActivity
.FixUpMetaProperties(this.cachedDefinitionActivity);