As far as I know it is not possible to do that.
What you can do is some runtime checking:
public bool MyGenericMethod()
{
// if (T is IEnumerable) // don't do this
if (typeof(T).GetInterface("IEnumerable") == null)
return false;
// ...
return true;
}