Rule "Generic methods should provide type parameters" should be extended

It’s allowed to use a generics as return value (e. g. T GetData(string anyparameter)), so my suggestion is to change the rule

Non compliant code

using System;

namespace MyLibrary
{
  public class Foo
  {
    public void MyMethod<T>()  // Noncompliant
    {
    }
  }
}

Compliant Code:
using System;

namespace MyLibrary
{
  public class Foo
  {
    public void MyMethod<T>(T param)
    {
    }
  }
}

or

using System;

namespace MyLibrary
{
  public class Foo
  {
    public T MyMethod<T>(string param)
    {
    }
  }
}

Hello @narbe66 ! Thank you for providing such a feedback. Indeed, I agree that this should be supported by the rule. I’ve created the corresponding issue in our tracker.