45 references to Expression
System.Activities.Presentation (5)
System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (5)
536
System.Linq.Expressions.Expression s = System.Linq.Expressions.Expression.Convert(this.
Expression
, typeof(ModelItemImpl));
538
return new DynamicMetaObject(value, BindingRestrictions.GetTypeRestriction(this.
Expression
, this.LimitType));
543
System.Linq.Expressions.Expression s = System.Linq.Expressions.Expression.Convert(this.
Expression
, typeof(ModelItemImpl));
544
System.Linq.Expressions.Expression objectValue = System.Linq.Expressions.Expression.Convert(value.
Expression
, typeof(object));
546
return new DynamicMetaObject(valueExp, BindingRestrictions.GetTypeRestriction(this.
Expression
, this.LimitType));
System.Core (35)
Microsoft\Scripting\Actions\BindingRestrictions.cs (2)
88
return BindingRestrictions.GetInstanceRestriction(obj.
Expression
, null);
90
return BindingRestrictions.GetTypeRestriction(obj.
Expression
, obj.LimitType);
Microsoft\Scripting\Actions\DynamicMetaObject.cs (5)
116
Type ct =
Expression
.Type;
135
/// <remarks>Represents the most specific type known about the object represented by the <see cref="DynamicMetaObject"/>. <see cref="RuntimeType"/> if runtime value is available, a type of the <see cref="
Expression
"/> otherwise.</remarks>
138
return RuntimeType ??
Expression
.Type;
292
Expression expr = mo.
Expression
;
324
(object)idoMetaObject.
Expression
!= (object)expression) {
Microsoft\Scripting\Actions\DynamicMetaObjectBinder.cs (1)
113
Expression body = binding.
Expression
;
Microsoft\Scripting\Actions\DynamicObject.cs (15)
249
return CallMethodReturnLast("TrySetMember", binder, NoArgs, value.
Expression
, (e) => binder.FallbackSetMember(this, value, e));
349
return CallMethodReturnLast("TrySetIndex", binder, DynamicMetaObject.GetExpressions(indexes), value.
Expression
, (e) => binder.FallbackSetIndex(this, indexes, value, e));
494
var convert = Expression.Convert(resultMO.
Expression
, binder.ReturnType);
510
condition = Expression.TypeIs(resultMO.
Expression
, binder.ReturnType);
514
Expression.Equal(resultMO.
Expression
, Expression.Constant(null)),
515
Expression.TypeIs(resultMO.
Expression
, binder.ReturnType));
528
Expression.Equal(resultMO.
Expression
, Expression.Constant(null)),
531
resultMO.
Expression
,
571
resultMO.
Expression
573
fallbackResult.
Expression
,
630
fallbackResult.
Expression
,
690
fallbackResult.
Expression
,
741
if (TypeUtils.AreEquivalent(
Expression
.Type, typeof(DynamicObject))) {
742
return
Expression
;
744
return Expression.Convert(
Expression
, typeof(DynamicObject));
Microsoft\Scripting\Actions\ExpandoObject.cs (9)
719
result.
Expression
,
720
fallback.
Expression
,
771
Expression.Convert(value.
Expression
, typeof(object)),
796
Expression.IfThen(Expression.Not(tryDelete), fallback.
Expression
),
820
Expression ifTestSucceeds = succeeds.
Expression
;
836
succeeds.
Expression
887
if (TypeUtils.AreEquivalent(
Expression
.Type, LimitType)) {
888
return
Expression
;
890
return Expression.Convert(
Expression
, LimitType);
Microsoft\Scripting\Compiler\DelegateHelpers.Generated.cs (3)
137
Type paramType = mo.
Expression
.Type;
156
Type paramType = mo.
Expression
.Type;
171
ParameterExpression pe = mo.
Expression
as ParameterExpression;
System.Data (5)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Model\ModelItemImpl.cs (5)
536
System.Linq.Expressions.Expression s = System.Linq.Expressions.Expression.Convert(this.
Expression
, typeof(ModelItemImpl));
538
return new DynamicMetaObject(value, BindingRestrictions.GetTypeRestriction(this.
Expression
, this.LimitType));
543
System.Linq.Expressions.Expression s = System.Linq.Expressions.Expression.Convert(this.
Expression
, typeof(ModelItemImpl));
544
System.Linq.Expressions.Expression objectValue = System.Linq.Expressions.Expression.Convert(value.
Expression
, typeof(object));
546
return new DynamicMetaObject(valueExp, BindingRestrictions.GetTypeRestriction(this.
Expression
, this.LimitType));