3 writes to MemberOf
System.Activities (3)
System\Activities\Activity.cs (3)
903
this.
MemberOf
= new IdSpace();
1050
this.
MemberOf
= parent.MemberOf;
1059
this.
MemberOf
= parent.ParentOf;
99 references to MemberOf
System.Activities (99)
System\Activities\Activity.cs (3)
1008
Activity referenceTarget = parent.
MemberOf
.Owner;
1050
this.MemberOf = parent.
MemberOf
;
1056
parent.ParentOf = new IdSpace(parent.
MemberOf
, parent.InternalId);
System\Activities\ActivityDelegate.cs (1)
166
Activity referenceTarget = parent.
MemberOf
.Owner;
System\Activities\ActivityInstance.cs (2)
665
currentInstance.PropertyManager.UnregisterProperties(currentInstance, currentInstance.Activity.
MemberOf
, true);
768
this.PropertyManager.OnDeserialized(this, parent, this.Activity.
MemberOf
, executor);
System\Activities\ActivityUtilities.cs (6)
461
if (argumentConsumer.
MemberOf
!= null && argumentConsumer.
MemberOf
.Owner != null)
463
Activity targetActivity = argumentConsumer.
MemberOf
.Owner;
641
Fx.Assert(activity.
MemberOf
!= null, "We always set this ahead of time - the root is set in InitializeAsRoot and all others are set in InitializeRelationship.");
642
activity.
MemberOf
.AddMember(activity);
886
Fx.Assert(currentActivity.Activity.
MemberOf
!= null, "We must have an activity with MemberOf setup or we need to skipIdGeneration.");
System\Activities\CodeActivityContext.cs (1)
36
return (THandle)this.CurrentInstance.PropertyManager.GetProperty(Handle.GetPropertyName(typeof(THandle)), this.Activity.
MemberOf
);
System\Activities\DynamicUpdate\ActivityComparer.cs (18)
139
if ((currentChild.
MemberOf
== currentIdSpace && originalChild.
MemberOf
!= originalIdSpace) || (currentChild.
MemberOf
!= currentIdSpace && originalChild.
MemberOf
== originalIdSpace))
158
IdSpace currentIdSpace = isImplementation ? currentDelegate.Owner.ParentOf : currentDelegate.Owner.
MemberOf
;
159
IdSpace originalIdSpace = isImplementation ? originalDelegate.Owner.ParentOf : originalDelegate.Owner.
MemberOf
;
174
IdSpace currentIdSpace = currentVariable.IsPublic ? currentVariable.Owner.
MemberOf
: currentVariable.Owner.ParentOf;
175
IdSpace originalIdSpace = originalVariable.IsPublic ? originalVariable.Owner.
MemberOf
: originalVariable.Owner.ParentOf;
199
return CompareChildEquality(currentArgument.BoundArgument.Expression, currentArgument.Owner.
MemberOf
, originalArgument.BoundArgument.Expression, originalArgument.Owner.
MemberOf
);
303
Fx.Assert(originalActivity.
MemberOf
== this.originalPrivateIdSpace && currentActivity.
MemberOf
== this.updatedPrivateIdSpace, "neither activities must be a reference.");
419
if (oldRuntimeArgument.IsBound && oldRuntimeArgument.BoundArgument.Expression != null && oldRuntimeArgument.BoundArgument.Expression.
MemberOf
== originalActivity.
MemberOf
)
473
if (originalActivity.
MemberOf
!= this.originalPrivateIdSpace && currentActivity.
MemberOf
!= this.updatedPrivateIdSpace)
479
Fx.Assert(originalActivity.
MemberOf
== this.originalPrivateIdSpace && currentActivity.
MemberOf
== this.updatedPrivateIdSpace, "neither activities must be a reference.");
System\Activities\DynamicUpdate\DynamicUpdateMap.cs (6)
326
this.ThrowIfInvalid(updatedDefinition.
MemberOf
);
516
if (activity.
MemberOf
== null)
524
if (activity.
MemberOf
.MemberCount != memberCount)
527
SR.WrongMemberCount(activity.
MemberOf
.Owner, activity.
MemberOf
.MemberCount, memberCount)));
537
if (activity.
MemberOf
== null)
System\Activities\DynamicUpdate\DynamicUpdateMapBuilder.cs (18)
124
if (originalActivity.Parent != null && originalActivity.Parent.
MemberOf
== originalActivity.
MemberOf
)
218
return this.forImplementation ? this.originalProgram.ParentOf : this.originalProgram.
MemberOf
;
323
IdSpace originalIdSpace = this.builder.ForImplementation ? this.builder.OriginalWorkflowDefinition.ParentOf : this.builder.OriginalWorkflowDefinition.
MemberOf
;
334
IdSpace idSpace = this.builder.ForImplementation ? this.builder.UpdatedWorkflowDefinition.ParentOf : this.builder.UpdatedWorkflowDefinition.
MemberOf
;
388
if (disallowActivity.
MemberOf
!= idSpace)
433
Fx.Assert(activity.
MemberOf
== (this.builder.ForImplementation ? activity.RootActivity.ParentOf : activity.RootActivity.
MemberOf
), "Should have called other overload of BlockUpdate");
900
if (newChild.
MemberOf
!= newChild.Parent.
MemberOf
)
904
if (oldChild.Parent != null && oldChild.
MemberOf
!= oldChild.Parent.
MemberOf
)
975
if (newChild.
MemberOf
!= this.NewIdSpace)
1112
if (currentActivity.Parent == currentActivity.
MemberOf
.Owner)
1211
if (newChild.Parent != source || newChild.
MemberOf
!= source.
MemberOf
|| GetMatch(newChild) != oldChild)
1232
if (newActivity.
MemberOf
== owningFinalizer.updatedActivity.ParentOf)
1245
Fx.Assert(newVariable.Owner.
MemberOf
== this.updatedActivity.ParentOf, "Should only call GetMatch for variables owned by the participating activity");
System\Activities\DynamicUpdate\DynamicUpdateMapQuery.cs (10)
95
rootIdSpace = this.originalWorkflowDefinition.
MemberOf
;
148
rootIdSpace = this.updatedWorkflowDefinition.
MemberOf
;
185
IdSpace rootIdSpace = activity.
MemberOf
;
193
else if (currentActivity.
MemberOf
== rootIdSpace)
208
while (currentActivity != null && currentActivity.
MemberOf
== rootIdSpace);
235
if (activity.
MemberOf
.Owner != activity.RootActivity)
242
else if (activity.
MemberOf
!= activity.RootActivity.
MemberOf
)
245
SR.QueryVariableIsInImplementation(activity.
MemberOf
.Owner),
246
SR.QueryActivityIsInImplementation(activity.
MemberOf
.Owner));
System\Activities\DynamicUpdate\NativeActivityUpdateMapMetadata.cs (2)
77
else if (parent.
MemberOf
!= child.
MemberOf
)
System\Activities\DynamicUpdate\UpdateMapMetadata.cs (6)
69
if (updatedChild.
MemberOf
== this.targetActivity.
MemberOf
)
193
if (child != null && child.
MemberOf
!= parent.
MemberOf
)
195
IdSpace idSpace = parent.
MemberOf
.Parent;
198
if (idSpace == child.
MemberOf
)
System\Activities\ExecutionProperties.cs (1)
33
this.currentIdSpace = this.context.Activity.
MemberOf
;
System\Activities\Expressions\CompiledExpressionInvoker.cs (2)
140
bool forImplementation = expression.
MemberOf
!= expression.RootActivity.
MemberOf
;
System\Activities\Expressions\TextExpression.cs (3)
194
if (activity.
MemberOf
== null)
200
isImplementation = activity.
MemberOf
!= activity.RootActivity.
MemberOf
;
System\Activities\IdSpace.cs (1)
98
Fx.Assert(element.
MemberOf
== this, "We should have already set this.");
System\Activities\QualifiedId.cs (3)
26
IdSpace space = element.
MemberOf
;
75
Fx.Assert(root.
MemberOf
!= null, "We need to have our IdSpaces set up for this to work.");
78
IdSpace currentIdSpace = root.
MemberOf
;
System\Activities\Runtime\ActivityExecutor.cs (1)
2167
targetInstance.PropertyManager.UnregisterProperties(targetInstance, targetInstance.Activity.
MemberOf
);
System\Activities\Runtime\ActivityInstanceMap.cs (1)
268
rootIdSpace = targetDefinition.
MemberOf
;
System\Activities\RuntimeArgument.cs (1)
415
Fx.Assert(object.ReferenceEquals(this.Owner, context.Activity) || object.ReferenceEquals(this.Owner, context.Activity.
MemberOf
.Owner),
System\Activities\Tracking\ActivityStateRecord.cs (2)
228
IdSpace activityIdSpace = currentElement.
MemberOf
;
257
foundNext = currentElement.
MemberOf
.Equals(activityIdSpace);
System\Activities\Tracking\RuntimeTrackingProfile.cs (3)
106
if (activityInfo.Activity.
MemberOf
.ParentId != 0)
113
if ((activityInfo.Activity.
MemberOf
.ParentId != 0)
114
&& (activityInfo.Activity.
MemberOf
.Parent.ParentId != 0))
System\Activities\Validation\ActivityValidationServices.cs (6)
293
if (toValidate.
MemberOf
.Parent != null)
299
if (toValidate.
MemberOf
.Parent.Parent == null)
310
while (source.
MemberOf
.Parent.Parent != null)
323
if (parentChain[i].Activity.
MemberOf
.Parent != null)
338
while (source.
MemberOf
.Parent != null)
343
if (toValidate.
MemberOf
.Parent != null)
System\Activities\XamlIntegration\CompiledLocation.cs (2)
45
this.forImplementation = currentActivityContext.Activity.
MemberOf
!= currentActivityContext.Activity.RootActivity.
MemberOf
;