Lines Matching refs:EnsureCastExpression

114                     argExpression = EnsureCastExpression(ensureValueTypeNotNull, parameterType);  in BuildMethodCall()
118 argExpression = EnsureCastExpression(paramAccessorExpression, parameterType); in BuildMethodCall()
148 … Expression readParameter = EnsureCastExpression(targetParameterExpression, method.DeclaringType); in BuildMethodCall()
158 callExpression = EnsureCastExpression(callExpression, type); in BuildMethodCall()
167 callExpression = EnsureCastExpression(callExpression, type); in BuildMethodCall()
208 expression = EnsureCastExpression(expression, resultType); in CreateDefaultConstructor()
241 … Expression readParameter = EnsureCastExpression(parameterExpression, propertyInfo.DeclaringType); in CreateGet()
246 resultExpression = EnsureCastExpression(resultExpression, resultType); in CreateGet()
267 … Expression sourceExpression = EnsureCastExpression(sourceParameter, fieldInfo.DeclaringType); in CreateGet()
272 fieldExpression = EnsureCastExpression(fieldExpression, typeof(object)); in CreateGet()
299 …Expression sourceExpression = EnsureCastExpression(sourceParameterExpression, fieldInfo.DeclaringT… in CreateSet()
304 … Expression valueExpression = EnsureCastExpression(valueParameterExpression, fieldExpression.Type); in CreateSet()
331 … Expression readValueParameter = EnsureCastExpression(valueParameter, propertyInfo.PropertyType); in CreateSet()
342 …Expression readInstanceParameter = EnsureCastExpression(instanceParameter, propertyInfo.DeclaringT… in CreateSet()
353 private Expression EnsureCastExpression(Expression expression, Type targetType) in EnsureCastExpression() method in Newtonsoft.Json.Utilities.ExpressionReflectionDelegateFactory