NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Compiler Error CS1580

Invalid type for parameter 'parameter number' in XML comment cref attribute

When attempting to reference an overload form of a method, the compiler detected an error. Typically, this indicates that the parameter name, and not the type, was specified.

The following sample generates CS1580:

using System;

/// <seealso cref="Test(i)"/>   // CS1580
// try the following line instead
// /// <seealso cref="Test(int)"/>
public class MyClass {
   public static void Main() {
   }

   public void Test(int i) {
   }

   public void Test(char i) {
   }
}