C#纯R6025虚函数调用

C# pure R6025 virtual function call

我在我的实时系统 (Windows Server 2012 R2 x64) 上收到以下错误,但在我的开发 (Windows 7 x64) 机器上没有。另一个 Whosebug 线程说“you are calling a function that is declared, but since you are not calling any child's implementation, it has no definition.”。 IDE 不会将此类声明的函数显示为警告吗?我还读到 .net 的版本可能是问题所在,所以我已经更新到 4.5.2;无济于事。我的项目在 .net 版本 4 上运行。 知道如何解决 debug/solve 这类问题吗?

编辑澄清:

  1. 我不知道抛出什么代码,因为它只发生在实时系统上
  2. 我确定它是 C# 代码,如果它是我的(3 个项目都在 C# 中)。但我引用的是 COM 组件,这可能是问题所在。但为什么只在现场而不是在我的开发机器上?
  3. 在代码中的任何地方都找不到 'virtual' 关键字。

所以我将它缩小到一个 COM 组件,它似乎与 Windows Server 2012 R2 有问题。 因为这是第 3 方的问题,我已经联系他们解决了这个问题。