PEVerify 警告参数乱序

发布于 2024-08-05 02:10:38 字数 318 浏览 3 评论 0原文

我使用 Reflection.Emit 构建了一个程序集。运行 PEVerify 返回 214 个相同类型的警告:

[MD]: Warning: Parameter out of sequence (parameter: 1; seq.num: 1). [token:0x06000171]

不幸的是,没有太多关于此类问题的文档。

我猜测是因为它是一个元数据警告,它与方法名称、参数名称、类名称、方法签名或类似名称有关。将其与我的代码联系起来的唯一方法是警告的数量,这就是我要尝试并继续的内容。

任何帮助或见解将不胜感激。

I've built an assembly using Reflection.Emit. Running PEVerify returns 214 warnings of the same type:

[MD]: Warning: Parameter out of sequence (parameter: 1; seq.num: 1). [token:0x06000171]

Unfortunately there isn't much documentation around these sort of issues.

I'm guessing because it's a metadata warning it's something to do with a method name, argument name, class name, method signature, or similar. The only way to relate this back to my code is the number of warnings which is what I'm going to try and go on.

Any help or insight would be appreciated.

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

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

发布评论

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

评论(1

我不会写诗 2024-08-12 02:10:38

我通过发生的错误数量找出了问题所在。我正在使用一个框架(RunSharp)并两次访问我的方法的相同参数。 RunSharp 似乎不能很好地处理这个问题。

I figured out what the issue was through the number of errors what were happening. I was using a framework (RunSharp) and accessing the same argument to my method twice. RunSharp doesn't seem to handle this well.

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