This project is read-only.


Crashes due to beforefieldinit


The class EndpointReachedEvent (in NestedMarkupExtension.cs) has a static field "listeners" and a bunch of static methods. The methods assume that the field was initialized. However, since there is no static constructor, the class is marked as beforefieldinit, which means that it is possible for the methods to be run before the field is initialized (i.e. it is null). This results in a crash. See for details.

The fix would be to add an empty static constructor to the class.
Closed Apr 7, 2013 at 2:12 PM by MrCircuit
Will be delivered with the next release.