简体   繁体   中英

Marking External Library Sealed Class as Obsolete

This is a bit of a nasty one; I have an "external" library (technically internal to the company but the original source code is no longer available, just the DLL) with a sealed class that is/should be marked as obsolete.

Is it possible to do? I suspect I might need to mess around with reflection to get the job done (I'm more than OK with this), I'm just not clear on the details.

How will you change the dll without source code? If your company has no copyright issues, you can check the dll source code with tools jetbrains dotpeek. Prepare your own project and copy source code. Do remember not to decompile proprietary source code of other companies. There are legal issues with that and can cost heavily.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM