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