Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 274 Bytes

MA0057.md

File metadata and controls

15 lines (12 loc) · 274 Bytes

MA0057 - Class name should end with 'Attribute'

A class that derives from System.Attribute should have a name that ends with 'Attribute'.

class Sample : Attribute // Non compliant
{
}
class SampleAttribute : Attribute // compliant
{
}