Skip to content

Instantly share code, notes, and snippets.

@acazsouza
Created January 9, 2012 20:00
Show Gist options
  • Save acazsouza/1584641 to your computer and use it in GitHub Desktop.
Save acazsouza/1584641 to your computer and use it in GitHub Desktop.
How to crash VS 2010 in 20 lines of code
namespace Crash
{
public class Foo
{
public static void Method(object o)
{
}
}
public class Bar
{
public Foo Foo { get; set; }
public static void Method(dynamic d)
{
Foo.Method(d); //This crashes VS instantly!
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment