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