14 references to CurrentActivity
System.Activities (14)
Microsoft\VisualBasic\Activities\VisualBasicHelper.cs (2)
256
GetAllImportReferences(publicAccessor.ActivityMetadata.
CurrentActivity
,
481
this.publicAccessor.Value.ActivityMetadata.
CurrentActivity
.ResetTempAutoGeneratedArguments();
System\Activities\CodeActivityPublicEnvironmentAccessor.cs (8)
26
AssertIsCodeActivity(metadata.
CurrentActivity
);
97
Fx.Assert(!useLocationReferenceValue || this.ActivityMetadata.
CurrentActivity
.UseOldFastPath, "useLocationReferenceValue should only be used for back-compat");
105
equivalentLocation = new InlinedLocationReference(publicLocation, this.metadata.
CurrentActivity
, accessDirection);
116
Fx.Assert(!useLocationReferenceValue || this.ActivityMetadata.
CurrentActivity
.UseOldFastPath, "useLocationReferenceValue should only be used for back-compat");
124
equivalentReference = new InlinedLocationReference(publicReference, this.metadata.
CurrentActivity
);
148
RuntimeArgument runtimeArgument = this.metadata.
CurrentActivity
.AddTempAutoGeneratedArgument(argumentType, direction);
149
Argument.TryBind(argument, runtimeArgument, this.metadata.
CurrentActivity
);
154
if (this.metadata.
CurrentActivity
== null)
System\Activities\Expressions\CompiledExpressionInvoker.cs (3)
250
this.locationReferences.Add(new InlinedLocationReference(reference, this.metadata.
CurrentActivity
));
298
Activity root = this.metadata.
CurrentActivity
.Parent;
303
if (CompiledExpressionInvoker.TryGetCompiledExpressionRoot(metadata.
CurrentActivity
, root, out currentCompiledExpressionRoot))
System\Activities\ExpressionUtilities.cs (1)
1416
RuntimeArgument runtimeArgument = ActivityUtilities.FindArgument(memberExpression.Member.Name, publicAccessor.ActivityMetadata.
CurrentActivity
);