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