这是一个我从未见过的新问题。它发生在LibCURL.NET的开源包装器中:
http://sourceforge.net/projects/libcurl-net/
我收到了一个不明确的引用"警告作为错误",但奇怪的是,这是由于LibCURL源文件中的CREF引用导致的(见下文)。确实有几个名为Easy.GetInfo()的方法重载,但我不知道如何修复这个问题,因为有问题的代码并不是对Easy.GetInfo()方法的调用,事实上它根本不是代码,而是一个Enum注释中的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。提到这一点是为了防止有关联情况的发生。