Modifying Existing .NET Assemblies

前端 未结 6 1282
醉酒成梦
醉酒成梦 2020-12-08 05:38

Is there a way to modify existing .NET assemblies without resorting to 3rd party tools? I know that PostSharp makes this possible but I find it incredibly wasteful that the

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-08 06:37

    It would help if you could provide a more specific use case, there are probably better ways to fix your problem than this.

    In .NET 3.5 it's possible to add extension methods to existing framework classes, perhaps that is enough?

提交回复
热议问题