Posted on 2006-04-20
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
    LVL 23

    Expert Comment

    Don't use FxCop :-)

    See if this link provides any help..

    Author Comment

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

    Accepted Solution

    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

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on could not pull conte…
    User art_snob ( encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!

    746 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now