[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now



Posted on 2006-04-20
Medium Priority
Last Modified: 2010-08-05
Have you tried Fxcop with your source code.

when I run it majority of the errrors thrown are
validate arguments of public methods
specify Iformatprovide
do not raise reserved exception types.

How to avoid these? any quick fix?

Pls help
Question by:sureshraina
  • 2
LVL 23

Expert Comment

ID: 16500306
Don't use FxCop :-)

See if this link provides any help..


Author Comment

ID: 16501277
Naveen. Cant avoid it.
Our team management wants everything to go through Fxcom
LVL 23

Accepted Solution

naveenkohli earned 2000 total points
ID: 16501357
Then you will have to do exactly what FxCop is saying..

1. Check validity of all parameters of your methods
2. Throw only specific exceptions as I have shown in couple of your other questions.
3. If you have created any bussiness objects, then implement IFormatProvider interface as mentioned in your error message.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Integration Management Part 2
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question