The user-defined aggregate extension method has too many generic arguments. There should have at most three generic arugments, ...

The user-defined aggregate extension method has too many generic arguments. There should have at most three generic arugments, one for stream input event type, one for aggregate input event type, another for aggregate output event type. The following method call is not supported: '{0}'.