A repository to contain IntelliTect's tools for coding conventions. IntelliTect conventions can be found here.
Fields should be specified in _PascalCase. Always with a leading underscore, regardless of visibility modifier.
Allowed
class SomeClass
{
public string _MyField;
}Disallowed
class SomeClass
{
public string _myField;
public string myField;
}Fields should be PascalCase
Allowed
class SomeClass
{
public string MyProperty { get; set; }
}Disallowed
class SomeClass
{
public string myProperty { get; set; }
public string _MyProperty { get; set; }
}All attributes should be on separate lines and be wrapped in their own braces.
Allowed
[FooClass]
[BarClass]
class SomeClass
{
[Foo]
[Bar]
public string MyProperty { get; set; }
}Disallowed
[FooClass, BarClass]
class SomeClass
{
[Foo][Bar]
public string MyProperty { get; set; }
}