33 references to Value
Microsoft.CSharp (25)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (12)
55
object value = o.
Value
;
72
if (o.
Value
is double && double.IsNaN((double)o.
Value
))
78
else if (o.
Value
is float && float.IsNaN((float)o.
Value
))
86
Expression e = Expression.Equal(o.Expression, Expression.Constant(o.
Value
, o.Expression.Type));
119
Expression.Assign(tempForIncrement, Expression.Convert(arg0.Expression, arg0.
Value
.GetType())),
197
IsComObject(argument.
Value
);
234
argument.
Value
== null ||
239
BindingRestrictions.GetInstanceRestriction(argument.Expression, argument.
Value
) :
291
Debug.Assert(args[0].
Value
is Type);
292
return args[0].
Value
as Type;
Microsoft\CSharp\RuntimeBinder\ComInterop\ComBinder.cs (4)
204
if (IsComObject(instance.
Value
))
274
if (IsComObject(instance.
Value
))
276
instance = new ComMetaObject(instance.Expression, instance.Restrictions, instance.
Value
);
294
if (instance.
Value
is IPseudoComObject o)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComBinderHelpers.cs (2)
87
IStrongBox value = curArgument.
Value
as IStrongBox;
112
if (obj.
Value
== null && obj.HasValue)
Microsoft\CSharp\RuntimeBinder\ComInterop\ComFallbackMetaObject.cs (1)
59
((ComObject)
Value
).RuntimeCallableWrapper
Microsoft\CSharp\RuntimeBinder\ComInterop\ComInvokeBinder.cs (1)
128
Type marshalType = (mo.
Value
== null && mo.HasValue && !mo.LimitType.IsValueType) ? null : mo.LimitType;
Microsoft\CSharp\RuntimeBinder\ComInterop\DispCallableMetaObject.cs (1)
54
bool holdsNull = value.
Value
== null && value.HasValue;
Microsoft\CSharp\RuntimeBinder\ComInterop\IDispatchMetaObject.cs (1)
193
bool holdsNull = value.
Value
== null && value.HasValue;
Microsoft\CSharp\RuntimeBinder\ComInterop\TypeEnumMetaObject.cs (1)
23
Expression.Constant(((ComTypeEnumDesc)
Value
).GetValue(binder.Name), typeof(object)),
Microsoft\CSharp\RuntimeBinder\ComInterop\TypeLibMetaObject.cs (1)
39
((ComTypeLibDesc)
Value
).GetTypeLibObjectDesc(name)
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
262
array[i] = new ArgumentObject(args[i].
Value
, info, GetArgumentType(payload, info, parameters[i], args[i], i));
System.Linq.Expressions (8)
System\Dynamic\BindingRestrictions.cs (1)
78
if (obj.
Value
== null && obj.HasValue)
System\Dynamic\DynamicMetaObject.cs (2)
87
return
Value
?.GetType();
291
idoMetaObject.
Value
== null ||
System\Dynamic\DynamicMetaObjectBinder.cs (3)
101
if (target.
Value
is IDynamicMetaObjectProvider)
103
throw System.Linq.Expressions.Error.DynamicObjectResultNotAssignable(body.Type, target.
Value
.GetType(), this, expectedResult);
118
throw System.Linq.Expressions.Error.DynamicBindingNeedsRestrictions(target.
Value
!.GetType(), this);
System\Dynamic\DynamicObject.cs (1)
854
private new DynamicObject Value => (DynamicObject)base.
Value
!;
System\Dynamic\ExpandoObject.cs (1)
1015
public new ExpandoObject Value => (ExpandoObject)base.
Value
!;