SA1634 - Visual-Stylecop/Visual-StyleCop GitHub Wiki
TypeName |
FileHeaderMustShowCopyright |
CheckId |
SA1634 |
Category |
Documentation Rules |
The file header at the top of a C# code file is missing a copyright tag.
A violation of this rule occurs when the file header at the top of a C# file is missing a copyright tag. For example:
//-----------------------------------------------------------------------
//<Tag>A fileheader which does not contain a copyright tag</Tag>
//-----------------------------------------------------------------------
A file header should include a copyright tag, as follows:
//-----------------------------------------------------------------------
// <copyright file="Widget.cs" company="My Company">
// Custom company copyright tag.
// </copyright>
//-----------------------------------------------------------------------
To fix a violation of this rule, add a standard copyright tag to the file header.
[SuppressMessage("StyleCop.CSharp.DocumentationRules", "SA1634:FileHeaderMustShowCopyright", Justification = "Reviewed.")]