This project is read-only.
1

Closed

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.
Closed Oct 13, 2011 at 8:36 PM by wuestholz

comments

hermanv wrote Dec 11, 2009 at 4:29 AM

See 35610.