MoMa 的理由是“一旦了解 4.0 实现细节,就可以正确实施它”

发布于 2024-12-20 06:08:10 字数 591 浏览 5 评论 0原文

我们有几个商业 .Net 2.0 应用程序可以在带有 Mono 的 Linux 上运行良好。为了保持我们产品线的一致性,我们最近将所有项目移植到 .Net 4.0。这在 Mono 下引入了一些问题,但我确信没有什么是不可克服的。

当通过 MoMa 运行我们的程序集时,自从移植到 .Net 4.0 以来,我们看到了大量的“MonoTodo”我不知道如何解释的问题。 这些是我可以放心忽略的东西吗?

例如,我们的 MoMa 扫描报告给出:

    Calling Method      Method with [MonoTodo]          Reason
    bool MyMethod ()    bool Type.op_Equality (Type, Type)  Implement it properly once 4.0 impl details are known.

这个原因实际上意味着什么? 据推测,平等运算符确实工作顺利。

We have a couple of commercial .Net 2.0 applications that run just fine on Linux with Mono. For consistency across our product line, we've recently ported all of our projects to .Net 4.0. This introduces some problems under Mono, but nothing insurmountable, I'm sure.

When running our assemblies through MoMa, since porting to .Net 4.0, we see a large number of "MonoTodo" issues that I don't know how to interprete. Are these something I can safely ignore?

e.g., Our MoMa scan report gives:

    Calling Method      Method with [MonoTodo]          Reason
    bool MyMethod ()    bool Type.op_Equality (Type, Type)  Implement it properly once 4.0 impl details are known.

What does this reason actually mean? Presumably, the Equality operator does work well.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

杀手六號 2024-12-27 06:08:10

目前,MoMA 定义文件尚未维护,并且不反映最近的 Mono 状态 - 恐怕您必须检查 类库源代码自行验证TODO。

或者,如果您确实使用 MoMA 进行比较的 Mono 版本 - 是的,您在 4.0 配置文件上运行时会遇到一些问题。

Currently the MoMA definition files are unmaintained and do not reflect recent Mono state - I'm afraid you will have to check the class library source code to verify the TODOs yourself.

Or, if you are really using the version of Mono that MoMA compares against - yes, you will have some issues running on 4.0 profile.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文