Similar to my previous question about determining if all classes in a given namespace are serializable, is there a way I can make assertions about all public properties on all classes in a given namespace? I’d like to determine that they are cased properly (eg. start with a capital char) and are all marked as virtual/overridable; is there a way I can do this using reflection?
Similar to my previous question about determining if all classes in a given namespace
Share
Have you tried using FxCop – this is a tool that integrates with Visual Studio and enforces coding styles.