Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Compiler Warning (level 4) CS1591
Collapse the table of content
Expand the table of content

Compiler Warning (level 4) CS1591

Missing XML comment for publicly visible type or member 'Type_or_Member'

The /doc compiler option was specified, but one or more constructs did not have comments.

The following sample generates CS1591:

// CS1591.cs
// compile with: /W:4 /doc:x.xml

/// text
public class Test
{
   // /// text
   public static void Main()   // CS1591, remove "//" from previous line
   {
   }
}
Show:
© 2015 Microsoft