[Mono-dev] more Gendarme rules
vladimir.giszpenc at gmail.com
Fri Jun 8 14:04:04 EDT 2007
In programming spelling counts and case usually matters as well. A
perfect example is in properties.
//Microsoft says we should no longer use m_ or hungarian notation
//note the lower case first letter
private Type propertyName;
public Type PropertyName
return this.PropertyName; //this will crash your app
return this.PropertyName = value; //this will crash your app
This is fairly easy to find, but should also be easy find by some code
analyzer. Gendarme rule or compiler warning... Either way, I await
the next MonoDevelop with baited breath.
More information about the Mono-devel-list