Reputation: 1
I would like to use the FXCop introspection API to create a custom rule that verifies the following:
in MethodA, the code sets a property B on a static class C to value D :
void MethodA() { C.B=D; }
how can I write this? also how can I debug through a rule?
Upvotes: 0
Views: 293
Reputation: 14118
Your first question isn't exactly clear to me. Is this a pattern you want to have FxCop report as a problem?
For your second question:
Visual Studio will break on the break points you have set.
I found this site to be quite extensive.
Upvotes: 1