CA2122: Do not indirectly expose methods with references.
My code is as follows:
public void LoadPage(Uri url)
{
webBrowser1.Url = url;
webBrowser1.Refresh();
}
Fxcop issued the warning "CA2122: Do not indirectly expose methods with references."
What permission do I have for my code and how for the above attribute?
source
share