The overriding method cannot change the inherited constraints.
using System;
publicclass MyClass {
public virtual void MethodA<T>(T arg)
where T : new() {
}
}
publicclass YClass : MyClass {
public override void MethodA<T>(T arg) {
T obj = new T();
}
}