1 write to Expression
System.Linq.Expressions (1)
System\Dynamic\DynamicMetaObject.cs (1)
31
Expression
= expression;
68 references to Expression
Microsoft.CSharp (11)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (11)
60
parameters[index] = o.
Expression
;
74
Expression e = Expression.Call(null, isNaN, o.
Expression
);
80
Expression e = Expression.Call(null, isNaN, o.
Expression
);
85
Expression e = Expression.Equal(o.
Expression
, Expression.Constant(o.Value, o.
Expression
.Type));
99
expression = ConvertResult(deferredBinding.
Expression
, action);
118
Expression.Assign(tempForIncrement, Expression.Convert(arg0.
Expression
, arg0.Value.GetType())),
120
Expression.Assign(arg0.
Expression
, Expression.Convert(tempForIncrement, arg0.
Expression
.Type)));
238
BindingRestrictions.GetInstanceRestriction(argument.
Expression
, argument.Value) :
239
BindingRestrictions.GetTypeRestriction(argument.
Expression
, argument.RuntimeType);
Microsoft.VisualBasic.Core (21)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (21)
328
target.
Expression
(),
407
target.
Expression
(),
494
target.
Expression
(),
563
target.
Expression
(),
632
target.
Expression
(),
688
Dim valueExpression As Expression = IDOUtils.ConvertToObject(value.
Expression
())
693
target.
Expression
(),
745
Dim valueExpression As Expression = IDOUtils.ConvertToObject(value.
Expression
())
750
target.
Expression
(),
844
target.
Expression
(),
894
Expression.NewArrayInit(GetType(Object), New Expression() {IDOUtils.ConvertToObject(target.
Expression
)})
944
IDOUtils.ConvertToObject(target.
Expression
),
945
IDOUtils.ConvertToObject(arg.
Expression
)})
1001
Dim valueExpression As Expression = IDOUtils.ConvertToObject(value.
Expression
)
1008
target.
Expression
(),
1074
Dim valueExpression As Expression = IDOUtils.ConvertToObject(value.
Expression
)
1081
target.
Expression
(),
1291
args(i) = p.
Expression
1297
args(i) = p.
Expression
1530
BindingRestrictions.GetInstanceRestriction(metaObject.
Expression
, Nothing))
1533
BindingRestrictions.GetTypeRestriction(metaObject.
Expression
, metaObject.LimitType))
System.Linq.Expressions (36)
System\Dynamic\BindingRestrictions.cs (2)
80
return GetInstanceRestriction(obj.
Expression
, null);
84
return GetTypeRestriction(obj.
Expression
, obj.LimitType);
System\Dynamic\DynamicMetaObject.cs (5)
80
Type ct =
Expression
.Type;
99
/// <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>
100
public Type LimitType => RuntimeType ??
Expression
.Type;
263
Expression expr = mo.
Expression
;
292
(object)idoMetaObject.
Expression
!= (object)expression)
System\Dynamic\DynamicMetaObjectBinder.cs (1)
90
Expression body = binding.
Expression
;
System\Dynamic\DynamicObject.cs (16)
244
value.
Expression
,
359
new[] { arg.
Expression
},
410
value.
Expression
,
581
UnaryExpression convert = Expression.Convert(resultMO.
Expression
, binder.ReturnType);
597
condition = Expression.TypeIs(resultMO.
Expression
, binder.ReturnType);
602
Expression.Equal(resultMO.
Expression
, AstUtils.Null),
603
Expression.TypeIs(resultMO.
Expression
, binder.ReturnType));
619
Expression.Equal(resultMO.
Expression
, AstUtils.Null),
622
resultMO.
Expression
,
663
resultMO.
Expression
665
fallbackResult.
Expression
,
725
fallbackResult.
Expression
,
788
fallbackResult.
Expression
,
847
if (TypeUtils.AreEquivalent(
Expression
.Type, typeof(DynamicObject)))
849
return
Expression
;
851
return Expression.Convert(
Expression
, typeof(DynamicObject));
System\Dynamic\ExpandoObject.cs (9)
814
result.
Expression
,
815
fallback.
Expression
,
870
Expression.Convert(value.
Expression
, typeof(object)),
896
Expression.IfThen(Expression.Not(tryDelete), fallback.
Expression
),
923
Expression ifTestSucceeds = succeeds.
Expression
;
940
succeeds.
Expression
997
if (TypeUtils.AreEquivalent(
Expression
.Type, LimitType))
999
return
Expression
;
1001
return Expression.Convert(
Expression
, LimitType);
System\Linq\Expressions\Compiler\DelegateHelpers.cs (3)
71
Type paramType = mo.
Expression
.Type;
93
Type paramType = mo.
Expression
.Type;
110
return mo.
Expression
is ParameterExpression pe && pe.IsByRef;