Mar 23, 2011 at 7:25 AM
Edited Mar 23, 2011 at 7:37 AM
I have a class ParamBool which is in file ParamBool.cs and with stylecop 188.8.131.52 it fires:
Warning 1 SA1649:
The file attribute in the file header's copyright tag must contain the name of the first type in the file. C:\******\ParamBool.cs
The header is:
// <copyright file="ParamBool.cs" company="*****">
// Copyright (c) 2010 All Rights Reserved
The class header is:
public sealed class ParamBool
Why is SA1649 firing? If I change the header to be file="ParamBool", then SA1638 fires as well!
Also I cannot find SA1649 in the options to turn it off.
This problem affects sealed classes rather than unsealed classes.
It affects classes like ParamBoolList in file ParamBoolList.aspx.cs