18 types derived from Location
System.Activities (18)
System\Activities\Expressions\ArrayItemReference.cs (1)
69internal class ArrayLocation : Location<TItem>
System\Activities\Expressions\FieldReference.cs (1)
79internal class FieldLocation : Location<TResult>
System\Activities\Expressions\IndexerReference.cs (1)
118internal class IndexerLocation : Location<TItem>
System\Activities\Expressions\MultidimensionalArrayItemReference.cs (1)
96internal class MultidimensionArrayLocation : Location<TItem>
System\Activities\Expressions\PropertyReference.cs (1)
106internal class PropertyLocation<T> : Location<T>
System\Activities\Expressions\ValueTypeFieldReference.cs (1)
76internal class FieldLocation : Location<TResult>
System\Activities\Expressions\ValueTypeIndexerReference.cs (1)
112internal class IndexerLocation : Location<TItem>
System\Activities\Expressions\ValueTypePropertyReference.cs (1)
108internal class PropertyLocation : Location<TResult>
System\Activities\ExpressionUtilities.cs (5)
293internal class ArrayLocation : Location<T> 382internal class FieldLocation : Location<T> 558internal class IndexerLocation : Location<T> 687internal class MultidimensionalArrayLocation : Location<T> 778internal class PropertyLocation : Location<T>
System\Activities\Location.cs (1)
291internal new class ReferenceLocation : Location<T>
System\Activities\Runtime\LocationEnvironment.cs (1)
786private class DummyLocation : Location<object>
System\Activities\Runtime\TypedLocationWrapper.cs (1)
20class TypedLocationWrapper<T> : Location<T>
System\Activities\Variable.cs (1)
448internal sealed class VariableLocation : Location<T>, INotifyPropertyChanged
System\Activities\XamlIntegration\CompiledLocation.cs (1)
17internal class CompiledLocation<T> : Location<T>
4 instantiations of Location
System.Activities (4)
System\Activities\Argument.cs (1)
336return new Location<T>();
System\Activities\DelegateInArgument.cs (1)
62return new Location<T>();
System\Activities\DelegateOutArgument.cs (1)
76return new Location<T>();
System\Activities\Runtime\LocationEnvironment.cs (1)
347Location locationToDeclare = new Location<T>();
128 references to Location
System.Activities (126)
Microsoft\CSharp\Activities\CSharpReference.cs (4)
19public class CSharpReference<TResult> : CodeActivity<Location<TResult>>, ITextExpression 62protected override Location<TResult> Execute(CodeActivityContext context) 64Location<TResult> value = (Location<TResult>)this.invoker.InvokeExpression(context);
Microsoft\VisualBasic\Activities\VisualBasicReference.cs (3)
20public sealed class VisualBasicReference<TResult> : CodeActivity<Location<TResult>>, IValueSerializableExpression, IExpressionContainer, ITextExpression 61protected override Location<TResult> Execute(CodeActivityContext context) 81return (Location<TResult>) this.invoker.InvokeExpression(context);
System\Activities\ActivityContext.cs (7)
171public Location<T> GetLocation<T>(LocationReference locationReference) 182Location<T> typedLocation = location as Location<T>; 222Location<T> typedLocation = location as Location<T>; 253Location<T> typedLocation = location as Location<T>;
System\Activities\ActivityUtilities.cs (1)
43static Type locationGenericType = typeof(Location<>);
System\Activities\Argument.cs (1)
334internal static Location<T> CreateLocation<T>()
System\Activities\Debugger\DebugInfo.cs (3)
126activityType = typeof(Activity<>).MakeGenericType(typeof(Location<>).MakeGenericType(locationValueType)); 672Activity<Location<TLocationValue>> activity = expression as Activity<Location<TLocationValue>>;
System\Activities\DelegateOutArgument.cs (1)
54public new Location<T> GetLocation(ActivityContext context)
System\Activities\DynamicUpdate\NativeActivityUpdateContext.cs (1)
235public Location<T> GetLocation<T>(Variable variable)
System\Activities\Expressions\ArrayItemReference.cs (3)
13public sealed class ArrayItemReference<TItem> : CodeActivity<Location<TItem>> 45RuntimeArgument resultArgument = new RuntimeArgument("Result", typeof(Location<TItem>), ArgumentDirection.Out); 57protected override Location<TItem> Execute(CodeActivityContext context)
System\Activities\Expressions\EnvironmentLocationReference.cs (2)
11public class EnvironmentLocationReference<T> : CodeActivity<Location<T>>, IExpressionContainer, ILocationReferenceExpression 41protected sealed override Location<T> Execute(CodeActivityContext context)
System\Activities\Expressions\ExpressionServices.cs (19)
149public static Activity<Location<TResult>> ConvertReference<TResult>(Expression<Func<ActivityContext, TResult>> expression) 151Activity<Location<TResult>> result; 163public static bool TryConvertReference<TResult>(Expression<Func<ActivityContext, TResult>> expression, out Activity<Location<TResult>> result) 173static string TryConvertReference<TResult>(Expression body, bool throwOnError, out Activity<Location<TResult>> result) 238static string TryConvertIndexerReference<TResult>(MethodCallExpression methodCallExpressionBody, bool throwOnError, out Activity<Location<TResult>> result) 257result = parameters[2] as Activity<Location<TResult>>; 266static string TryConvertIndexerReferenceWorker<TOperand, TResult>(MethodCallExpression methodCallExpressionBody, bool throwOnError, out Activity<Location<TResult>> result) 292Activity<Location<TOperand>> operandReference = null; 312static string TryConvertMultiDimensionalArrayItemReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result) 349static string TryConvertVariableReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result) 433static string TryConvertArrayItemReference<TResult>(BinaryExpression binaryExpression, Type leftType, Type rightType, bool throwOnError, out Activity<Location<TResult>> result) 629static string TryConvertDelegateArgumentReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result) 748static string TryConvertArgumentReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result) 1079static string TryConvertReferenceMemberExpression<TResult>(MemberExpression memberExpressionBody, Type operandType, bool throwOnError, out Activity<Location<TResult>> result) 1086result = parameters[2] as Activity<Location<TResult>>; 1095static string TryConvertReferenceMemberExpressionWorker<TOperand, TResult>(MemberExpression memberExpressionBody, bool throwOnError, out Activity<Location<TResult>> result) 1099Activity<Location<TOperand>> operandReference = null; 1378Activity<Location<TArgument>> argument; 1542static string TryConvertReferenceLocationReference<TResult>(MethodCallExpression methodCallExpression, bool throwOnError, out Activity<Location<TResult>> result)
System\Activities\Expressions\FieldReference.cs (2)
12public sealed class FieldReference<TOperand, TResult> : CodeActivity<Location<TResult>> 72protected override Location<TResult> Execute(CodeActivityContext context)
System\Activities\Expressions\IndexerHelper.cs (2)
16public static void OnGetArguments<TItem>(Collection<InArgument> indices, OutArgument<Location<TItem>> result, CodeActivityMetadata metadata) 25RuntimeArgument resultArgument = new RuntimeArgument("Result", typeof(Location<TItem>), ArgumentDirection.Out);
System\Activities\Expressions\IndexerReference.cs (2)
17public sealed class IndexerReference<TOperand, TItem> : CodeActivity<Location<TItem>> 98protected override Location<TItem> Execute(CodeActivityContext context)
System\Activities\Expressions\LambdaReference.cs (2)
19public sealed class LambdaReference<T> : CodeActivity<Location<T>>, IExpressionContainer, IValueSerializableExpression 72protected override Location<T> Execute(CodeActivityContext context)
System\Activities\Expressions\MultidimensionalArrayItemReference.cs (3)
15public sealed class MultidimensionalArrayItemReference<TItem> : CodeActivity<Location<TItem>> 68RuntimeArgument resultArgument = new RuntimeArgument("Result", typeof(Location<TItem>), ArgumentDirection.Out); 73protected override Location<TItem> Execute(CodeActivityContext context)
System\Activities\Expressions\PropertyReference.cs (2)
13public sealed class PropertyReference<TOperand, TResult> : CodeActivity<Location<TResult>> 99protected override Location<TResult> Execute(CodeActivityContext context)
System\Activities\Expressions\ValueTypeFieldReference.cs (6)
12public sealed class ValueTypeFieldReference<TOperand, TResult> : CodeActivity<Location<TResult>> 67protected override Location<TResult> Execute(CodeActivityContext context) 69Location<TOperand> operandLocationValue = this.OperandLocation.GetLocation(context); 80Location<TOperand> ownerLocation; 82public FieldLocation(FieldInfo fieldInfo, Location<TOperand> ownerLocation) 111internal Location<TOperand> SerializedOwnerLocation
System\Activities\Expressions\ValueTypeIndexerReference.cs (6)
17public sealed class ValueTypeIndexerReference<TOperand, TItem> : CodeActivity<Location<TItem>> 99protected override Location<TItem> Execute(CodeActivityContext context) 106Location<TOperand> operandLocationValue = this.OperandLocation.GetLocation(context); 114Location<TOperand> operandLocation; 127public IndexerLocation(Location<TOperand> operandLocation, object[] indices, MethodInfo getMethod, MethodInfo setMethod, 187internal Location<TOperand> SerializedOperandLocation
System\Activities\Expressions\ValueTypePropertyReference.cs (6)
15public sealed class ValueTypePropertyReference<TOperand, TResult> : CodeActivity<Location<TResult>> 99protected override Location<TResult> Execute(CodeActivityContext context) 101Location<TOperand> operandLocationValue = this.OperandLocation.GetLocation(context); 110Location<TOperand> ownerLocation; 118Func<object, object[], object> setFunc, Location<TOperand> ownerLocation) 166internal Location<TOperand> SerializedOwnerLocation
System\Activities\ExpressionUtilities.cs (9)
287public override Location<T> CreateLocation(ActivityContext context) 365public override Location<T> CreateLocation(ActivityContext context) 461public override Location<T> CreateLocation(ActivityContext context) 465return argument.RuntimeArgument.GetLocation(context) as Location<T>; 478public override Location<T> CreateLocation(ActivityContext context) 481return locationReference.GetLocation(context) as Location<T>; 537public override Location<T> CreateLocation(ActivityContext context) 676public override Location<T> CreateLocation(ActivityContext context) 761public override Location<T> CreateLocation(ActivityContext context)
System\Activities\InArgument.cs (1)
230Location<T> location = Argument.CreateLocation<T>();
System\Activities\InOutArgument.cs (12)
74public InOutArgument(Activity<Location<T>> expression) 87public new Activity<Location<T>> Expression 107Activity<Location<T>> typedActivity = value as Activity<Location<T>>; 117this.Expression = new ActivityWithResultWrapper<Location<T>>(value); 127public static implicit operator InOutArgument<T>(Activity<Location<T>> expression) 142public static InOutArgument<T> FromExpression(Activity<Location<T>> expression) 158public new Location<T> GetLocation(ActivityContext context) 197targetEnvironment.DeclareTemporaryLocation<Location<T>>(this.RuntimeArgument, activityInstance, false); 206Location<T> argumentValue = executor.ExecuteInResolutionContext<Location<T>>(targetActivityInstance, this.Expression); 212targetEnvironment.DeclareTemporaryLocation<Location<T>>(this.RuntimeArgument, targetActivityInstance, false);
System\Activities\Location.cs (4)
280Fx.Assert(typeof(T).GetGenericTypeDefinition() == typeof(Location<>), "We should only be calling this with location subclasses."); 293Location<T> innerLocation; 296public ReferenceLocation(Location<T> innerLocation, bool bufferGets) 327internal Location<T> SerializedInnerLocation
System\Activities\LocationFactory.cs (1)
19public abstract new Location<T> CreateLocation(ActivityContext context);
System\Activities\OutArgument.cs (12)
94public OutArgument(Activity<Location<T>> expression) 107public new Activity<Location<T>> Expression 127if (value is Activity<Location<T>>) 129this.Expression = (Activity<Location<T>>)value; 135this.Expression = new ActivityWithResultWrapper<Location<T>>(value); 150public static implicit operator OutArgument<T>(Activity<Location<T>> expression) 173public static OutArgument<T> FromExpression(Activity<Location<T>> expression) 186public new Location<T> GetLocation(ActivityContext context) 225targetEnvironment.DeclareTemporaryLocation<Location<T>>(this.RuntimeArgument, activityInstance, true); 234Location<T> argumentValue = executor.ExecuteInResolutionContext<Location<T>>(targetActivityInstance, this.Expression); 240targetEnvironment.DeclareTemporaryLocation<Location<T>>(this.RuntimeArgument, targetActivityInstance, true);
System\Activities\Runtime\FuncCompletionCallbackWrapper.cs (2)
87Location<T> typedLocation = location as Location<T>;
System\Activities\Runtime\LocationEnvironment.cs (2)
375internal Location<T> GetSpecificLocation<T>(int id) 377return GetSpecificLocation(id) as Location<T>;
System\Activities\Variable.cs (1)
368public new Location<T> GetLocation(ActivityContext context)
System\Activities\XamlIntegration\CompiledDataContext.cs (2)
83public Location<T> GetLocation<T>(Func<T> getMethod, Action<T> setMethod, int expressionId, Activity compiledRootActivity, ActivityContext activityContext) 88public Location<T> GetLocation<T>(Func<T> getMethod, Action<T> setMethod)
System\Activities\XamlIntegration\InOutArgumentConverter.cs (2)
25ActivityWithResultConverter.ExpressionConverterHelper<Location<T>> expressionHelper; 29this.expressionHelper = new ActivityWithResultConverter.ExpressionConverterHelper<Location<T>>(true);
System\Activities\XamlIntegration\OutArgumentConverter.cs (2)
25ActivityWithResultConverter.ExpressionConverterHelper<Location<T>> expressionHelper; 29this.expressionHelper = new ActivityWithResultConverter.ExpressionConverterHelper<Location<T>>(true);
System.Activities.Presentation (2)
System.Activities.Presentation\System\Activities\Presentation\ExpressionHelper.cs (1)
155return expressionType.IsGenericType && typeof(Location<>) == expressionType.GetGenericTypeDefinition();
System.Activities.Presentation\System\Activities\Presentation\View\ExpressionTextBox.xaml.cs (1)
833(owner.UseLocationExpression && (owner.ExpressionType != null) && (expression.ResultType != typeof(Location<>).MakeGenericType(owner.ExpressionType))))