コンパイラの警告 (レベル 4) CS1591

公開されている型またはメンバー 'Type_or_Member' の XML コメントがありません

DocumentationFile コンパイラ オプションが指定されましたが、構成要素にはコメントがありませんでした。

次の例では CS1591 が生成されます。

// CS1591.cs  
// compile with: /W:4 /doc:x.xml  
  
/// text  
public class Test  
{  
   // /// text  
   public static void Main()   // Try the following instead: remove "//" from previous line (`// /// text` about the comments)  
                               //or add #pragma warning disable 1591
                               //a good practice is add the following comments:
                               // /// <summary>
                               // /// 
                               // /// </summary>
                               // this can be easily achieve at Visual Studio in a simple way adding triple forward slashes (`///`)
   {  
   }  
}