这是我以前从未见过的新问题。它发生在 LibCURL.NET 的开源包装器中:
http://sourceforge.net/projects/libcurl-net/
我得到一个模棱两可的参考“警告为错误”,但奇怪的是它是由于 LibCURL 源文件之一中的 CREF 参考而发生的(见下文)。名为 Easy.GetInfo() 的方法确实有几个不同的重载,但我不知道如何解决这个问题,因为有问题的代码不是对 Easy.GetInfo() 的方法调用,实际上它不是代码根本没有,而是它是枚举注释中的 CREF 元素。有谁知道如何解决这一问题?
/// <summary>
/// This enumeration is used to extract information associated with an
/// <see cref="Easy"/> transfer. Specifically, a member of this
/// enumeration is passed as the first argument to
/// <see cref="Easy.GetInfo"/> specifying the item to retrieve in the
/// second argument, which is a reference to an <c>int</c>, a
/// <c>double</c>, a <c>string</c>, a <c>DateTime</c> or an <c>object</c>.
/// </summary>
public enum CURLINFO
{
...
注意:我将 LibCURL.NET 重新定位为 .NET 框架版本 4.5.1。我提到这一点以防它可能相关。