Compiler Warning (level 4) CS1591
Missing XML comment for publicly visible type or member 'Type_or_Member'
The DocumentationFile 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() // 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 (`///`)
{
}
}
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για