Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
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 to add the following comments:
// /// <summary>
// ///
// /// </summary>
// this can be easily achieved in Visual Studio by simply adding triple forward slashes (`///`) -
// autocomplete will add the summary tags
{
}
}
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.