我在 WPF 应用程序中收到以下错误:
Declaration referenced in a method implementation cannot be a final method.
我发现的唯一一件事是问题是一个非虚拟方法被覆盖,但我检查并在我的对象中找不到任何方法。
编译时不会抛出错误,但只有在我调试时才会抛出错误。
有没有人建议我可以试试?
- 更新
调用时,我的 App.Xaml.csOnStartup
覆盖出现错误:
var catalog = new AggregateCatalog();
catalog.Catalogs.Add(new DirectoryCatalog(localDir));
_container = new CompositionContainer(catalog);
在 _container 升级到 CSLA 4.5.10 后,我收到 15 LoaderException。