Obsolete library class
<p>What is the best way to prevent C# programmer from using particular library class?</p>

<p>Class is from external assembly so it is impossible to use <code>[Obsolete]</code> attribute on it. I tried to use Resharper custom patterns but it seems not to support generics types.</p>
