Unused local variable crashes PeWriter initialization.
description
The following input throws an exception in Metadata\Sources\PeWriter.cs in PeWriter.Initialize()
class Example {
public static void Foo() { int i; int j = 0; }
}
Giving an initial value for "i" makes the throw go away.
i and j both make it into "currentScope", but only j is in localDefIndex.