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