You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to propose new naming rule for generic parameters. Name should start with "T", second character (if it exists) should be upper case letter or digit. AFAIK Whole BCL follows this convention.
sharwell
changed the title
Rule proposal: Naming rule - naming of generic type arguments
Implement SA1314: TypeParameterNamesMustBeginWithT
Dec 30, 2015
I'd like to propose new naming rule for generic parameters. Name should start with "T", second character (if it exists) should be upper case letter or digit. AFAIK Whole BCL follows this convention.
Few valid names: "T", "T1", "TKey", "TValue"
Few invalid names: "t", "Tkey", "Key"
This rule was originally proposed by Andy Reeves here:
http://stylecop.codeplex.com/workitem/6891
The text was updated successfully, but these errors were encountered: