This project is read-only.
2
Vote

Overridden method considered overload if signature differs only by generic constraint

description

Given a method with the signature: public abstract bool FooBar<T>(T someArg) where T : IList<T>
 
In a derived class, the signature becomes: public override bool FooBar<T>(T someArg)
 
The constraint is dropped (else error CS0460 is given), and it seems Sandcastle believes that the method is now an overload since the signatures do not match exactly.

comments