41 references to Value
Microsoft.CSharp (13)
Microsoft\CSharp\RuntimeBinder\BinderHelper.cs (12)
54object value = o.Value; 71if (o.Value is double && double.IsNaN((double)o.Value)) 77else if (o.Value is float && float.IsNaN((float)o.Value)) 85Expression e = Expression.Equal(o.Expression, Expression.Constant(o.Value, o.Expression.Type)); 118Expression.Assign(tempForIncrement, Expression.Convert(arg0.Expression, arg0.Value.GetType())), 196IsComObject(argument.Value); 233argument.Value == null || 238BindingRestrictions.GetInstanceRestriction(argument.Expression, argument.Value) : 290Debug.Assert(args[0].Value is Type); 291return args[0].Value as Type;
Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs (1)
255array[i] = new ArgumentObject(args[i].Value, info, GetArgumentType(payload, info, parameters[i], args[i], i));
Microsoft.VisualBasic.Core (20)
Microsoft\VisualBasic\CompilerServices\IDOBinder.vb (20)
318If errorSuggestion IsNot Nothing AndAlso Not CanBindCall(target.Value, Name, argValues, argNames, _ignoreReturn) Then 397If errorSuggestion IsNot Nothing AndAlso Not CanBindGet(target.Value, Name, argValues, argNames) Then 485If errorSuggestion IsNot Nothing AndAlso Not CanBindInvokeDefault(target.Value, argValues, argNames, _lateCall) Then 554If errorSuggestion IsNot Nothing AndAlso Not CanBindInvokeDefault(target.Value, argValues, argNames, _reportErrors) Then 623If errorSuggestion IsNot Nothing AndAlso Not CanBindInvokeDefault(target.Value, argValues, argNames, _reportErrors) Then 684If errorSuggestion IsNot Nothing AndAlso Not CanBindSet(target.Value, Name, value.Value, False, False) Then 741If errorSuggestion IsNot Nothing AndAlso Not CanBindSet(target.Value, Name, value.Value, _optimisticSet, _rValueBase) Then 837If errorSuggestion IsNot Nothing AndAlso Not Conversions.CanUserDefinedConvert(target.Value, Me.Type()) Then 886If errorSuggestion IsNot Nothing AndAlso Operators.GetCallableUserDefinedOperator(_Op, target.Value) Is Nothing Then 935If errorSuggestion IsNot Nothing AndAlso Operators.GetCallableUserDefinedOperator(_Op, target.Value, arg.Value) Is Nothing Then 994indexValuesPlusValue(indexValues.Length) = value.Value 997Not CanIndexSetComplex(target.Value, indexValuesPlusValue, indexNames, False, False) Then 1067indexValuesPlusValue(indexValues.Length) = value.Value 1070Not CanIndexSetComplex(target.Value, indexValuesPlusValue, indexNames, _optimisticSet, _rValueBase) Then 1292argValues(i) = p.Value 1298argValues(i) = p.Value 1528If metaObject.Value Is Nothing Then
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!;