2 writes to Parent
System.Activities (2)
System\Activities\Expressions\InvokeMethod.cs (1)
162Parent = this
System\Activities\Statements\InvokeMethod.cs (1)
176Parent = this
15 references to Parent
System.Activities (15)
System\Activities\Statements\MethodResolver.cs (15)
165TD.InvokeMethodUseAsyncPattern(this.Parent.DisplayName, this.beginMethod.ToString(), this.endMethod.ToString()); 174TD.InvokeMethodDoesNotUseAsyncPattern(this.Parent.DisplayName); 190metadata.AddValidationError(SR.ActivityPropertyMustBeSet("MethodName", this.Parent.DisplayName)); 199metadata.AddValidationError(SR.TargetTypeAndTargetObjectAreMutuallyExclusive(this.Parent.GetType().Name, this.Parent.DisplayName)); 215metadata.AddValidationError(SR.OneOfTwoPropertiesMustBeSet("TargetObject", "TargetType", this.Parent.GetType().Name, this.Parent.DisplayName)); 233InheritanceAndParamArrayAwareBinder methodBinder = new InheritanceAndParamArrayAwareBinder(targetType, genericTypeArguments, this.Parent); 262metadata.AddValidationError(SR.ReturnTypeIncompatible(this.endMethod.ReturnType.Name, MethodName, targetType.Name, this.Parent.DisplayName, resultType.Name)); 272methodExecutor = new AsyncPatternMethodExecutor(metadata, this.beginMethod, this.endMethod, this.Parent, 292metadata.AddValidationError(SR.DuplicateMethodFound(targetType.Name, bindingType, MethodName, this.Parent.DisplayName)); 298metadata.AddValidationError(SR.PublicMethodWithMatchingParameterDoesNotExist(targetType.Name, bindingType, MethodName, this.Parent.DisplayName)); 305targetType.Name, this.Parent.DisplayName, resultType.Name)); 316methodExecutor = new AsyncWaitCallbackMethodExecutor(metadata, this.syncMethod, this.Parent, 329methodExecutor = new SyncMethodExecutor(metadata, this.syncMethod, this.Parent, this.TargetType,