internal ODataExpression(ODataExpressionKind kind, ODataExpressionType type, Type clrType) { Throw.IfNull(clrType, "clrType"); Throw.If(!type.IsCompatibleWith(clrType), "clrType must be compatible with kind"); this.Kind = kind; this.Type = type; this.ClrType = clrType; }