FxCop Custom Rule - Inspecting winform control properties
问题 I am looking for an example of a FxCop Rule that inspects the properties of controls created. Has anyone seen one? Or know how to respond to a property set in the FxCop SDK? Rich. 回答1: This is definitely not difficult. Just filter for types that inherit from Control and then get a list of fields (if I remember correctly). You may be better off asking this at the http://str8.to/fxcop-forum - they are very much active and I've had pretty great support there. Good luck! 回答2: My solutionwas to