46 references to OpenTypeMethods
System.Data.Services (46)
System\Data\Services\Internal\PropertyAccessVisitor.cs (1)
53else if (m.Method == OpenTypeMethods.GetValueOpenPropertyMethodInfo)
System\Data\Services\OpenTypes\OpenTypeMethods.cs (20)
29internal static readonly MethodInfo AddMethodInfo = typeof(OpenTypeMethods).GetMethod("Add", BindingFlags.Static | BindingFlags.Public); 32internal static readonly MethodInfo AndAlsoMethodInfo = typeof(OpenTypeMethods).GetMethod("AndAlso", BindingFlags.Static | BindingFlags.Public); 35internal static readonly MethodInfo ConvertMethodInfo = typeof(OpenTypeMethods).GetMethod("Convert", BindingFlags.Static | BindingFlags.Public); 38internal static readonly MethodInfo DivideMethodInfo = typeof(OpenTypeMethods).GetMethod("Divide", BindingFlags.Static | BindingFlags.Public); 41internal static readonly MethodInfo EqualMethodInfo = typeof(OpenTypeMethods).GetMethod("Equal", BindingFlags.Static | BindingFlags.Public); 44internal static readonly MethodInfo GreaterThanMethodInfo = typeof(OpenTypeMethods).GetMethod("GreaterThan", BindingFlags.Static | BindingFlags.Public); 47internal static readonly MethodInfo GreaterThanOrEqualMethodInfo = typeof(OpenTypeMethods).GetMethod("GreaterThanOrEqual", BindingFlags.Static | BindingFlags.Public); 50internal static readonly MethodInfo LessThanMethodInfo = typeof(OpenTypeMethods).GetMethod("LessThan", BindingFlags.Static | BindingFlags.Public); 53internal static readonly MethodInfo LessThanOrEqualMethodInfo = typeof(OpenTypeMethods).GetMethod("LessThanOrEqual", BindingFlags.Static | BindingFlags.Public); 56internal static readonly MethodInfo ModuloMethodInfo = typeof(OpenTypeMethods).GetMethod("Modulo", BindingFlags.Static | BindingFlags.Public); 59internal static readonly MethodInfo MultiplyMethodInfo = typeof(OpenTypeMethods).GetMethod("Multiply", BindingFlags.Static | BindingFlags.Public); 62internal static readonly MethodInfo NegateMethodInfo = typeof(OpenTypeMethods).GetMethod("Negate", BindingFlags.Static | BindingFlags.Public); 65internal static readonly MethodInfo NotMethodInfo = typeof(OpenTypeMethods).GetMethod("Not", BindingFlags.Static | BindingFlags.Public); 68internal static readonly MethodInfo NotEqualMethodInfo = typeof(OpenTypeMethods).GetMethod("NotEqual", BindingFlags.Static | BindingFlags.Public); 71internal static readonly MethodInfo OrElseMethodInfo = typeof(OpenTypeMethods).GetMethod("OrElse", BindingFlags.Static | BindingFlags.Public); 74internal static readonly MethodInfo SubtractMethodInfo = typeof(OpenTypeMethods).GetMethod("Subtract", BindingFlags.Static | BindingFlags.Public); 77internal static readonly MethodInfo TypeIsMethodInfo = typeof(OpenTypeMethods).GetMethod("TypeIs", BindingFlags.Static | BindingFlags.Public); 80internal static readonly MethodInfo GetValueOpenPropertyMethodInfo = typeof(OpenTypeMethods).GetMethod( 548OpenTypeMethods.AndAlsoMethodInfo, 652OpenTypeMethods.OrElseMethodInfo,
System\Data\Services\Parsing\FunctionDescription.cs (3)
164MethodInfo methodInfo = typeof(OpenTypeMethods).GetMethod( 367return Expression.Call(null, callOpenTypeMethod ? OpenTypeMethods.TypeIsMethodInfo : DataServiceProviderMethods.TypeIsMethodInfo, arguments[0], arguments[1]); 433return Expression.Call(null, callOpenTypeMethod ? OpenTypeMethods.ConvertMethodInfo : DataServiceProviderMethods.ConvertMethodInfo, arguments[0], arguments[1]);
System\Data\Services\Parsing\RequestQueryParser.cs (20)
360expr = OpenTypeMethods.EqualExpression(expr, Expression.Constant(true, typeof(object))); 890return OpenTypeMethods.EqualExpression(left, right); 909return OpenTypeMethods.NotEqualExpression(left, right); 929return OpenTypeMethods.GreaterThanExpression(left, right); 950return OpenTypeMethods.GreaterThanOrEqualExpression(left, right); 971return OpenTypeMethods.LessThanExpression(left, right); 992return OpenTypeMethods.LessThanOrEqualExpression(left, right); 1091return OpenTypeMethods.AddExpression(left, right); 1105return OpenTypeMethods.SubtractExpression(left, right); 1119return OpenTypeMethods.MultiplyExpression(left, right); 1132return OpenTypeMethods.NegateExpression(expr); 1145return OpenTypeMethods.NotExpression(expr); 1167return OpenTypeMethods.DivideExpression(left, right); 1181return OpenTypeMethods.ModuloExpression(left, right); 1195return OpenTypeMethods.AndAlsoExpression(left, right); 1209return OpenTypeMethods.OrElseExpression(left, right); 1237return ((MethodCallExpression)input).Method.DeclaringType == typeof(OpenTypeMethods); 1241return ((UnaryExpression)input).Method != null && ((UnaryExpression)input).Method.DeclaringType == typeof(OpenTypeMethods); 1256return ((BinaryExpression)input).Method != null && ((BinaryExpression)input).Method.DeclaringType == typeof(OpenTypeMethods); 2113Expression.Call(null /* instance */, OpenTypeMethods.GetValueOpenPropertyMethodInfo, instance, Expression.Constant(id));
System\Data\Services\Providers\BasicExpandProvider.cs (1)
1311OpenTypeMethods.GetValueOpenPropertyMethodInfo,
System\Data\Services\RequestUriProcessor.cs (1)
1161Expression body = Expression.Call(null /* instance */, OpenTypeMethods.GetValueOpenPropertyMethodInfo, parameter, Expression.Constant(propertyName));