Skip to content

Instantly share code, notes, and snippets.

@slodge
Created April 29, 2012 09:52
Show Gist options
  • Save slodge/2549109 to your computer and use it in GitHub Desktop.
Save slodge/2549109 to your computer and use it in GitHub Desktop.
Export all types in System.Net
public class ShowAllSystemNetTypes
{
public void DoShowAll()
{
foreach (var type in typeof(WebRequest).Assembly.GetExportedTypes())
{
Debug.WriteLine("[assembly: TypeForwardedTo(typeof({0}))]", type.FullName);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment