2 writes to endMethod
System.Activities (2)
System\Activities\Statements\MethodResolver.cs (2)
258this.endMethod = Resolve(targetType, "End" + this.MethodName, bindingFlags, 263this.endMethod = null;
10 references to endMethod
System.Activities (10)
System\Activities\Statements\MethodResolver.cs (10)
71bool useAsyncPattern = this.RunAsynchronously && this.beginMethod != null && this.endMethod != null; 159bool useAsyncPattern = this.RunAsynchronously && this.beginMethod != null && this.endMethod != null; 165TD.InvokeMethodUseAsyncPattern(this.Parent.DisplayName, this.beginMethod.ToString(), this.endMethod.ToString()); 260if (this.endMethod != null && resultType != null && !TypeHelper.AreTypesCompatible(this.endMethod.ReturnType, resultType)) 262metadata.AddValidationError(SR.ReturnTypeIncompatible(this.endMethod.ReturnType.Name, MethodName, targetType.Name, this.Parent.DisplayName, resultType.Name)); 267if (this.beginMethod != null && this.endMethod != null && this.beginMethod.IsStatic == this.endMethod.IsStatic) 270!((AsyncPatternMethodExecutor)oldMethodExecutor).IsTheSame(this.beginMethod, this.endMethod)) 272methodExecutor = new AsyncPatternMethodExecutor(metadata, this.beginMethod, this.endMethod, this.Parent,