Skip to content

Instantly share code, notes, and snippets.

@jrusbatch
Created November 26, 2017 06:52
Show Gist options
  • Save jrusbatch/a24cd4bb38fddd476291f723be9cd910 to your computer and use it in GitHub Desktop.
Save jrusbatch/a24cd4bb38fddd476291f723be9cd910 to your computer and use it in GitHub Desktop.
namespace ArgListOutVar
{
class Program
{
static void Main(string[] args)
{
// __arglist(out var x) // Loading a file with this line uncommented crashes Visual Studio
__arglist(out int x) // If the type is explicit, VS doesn't crash
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment