icsharpcode/NRefactory — pull request #247 by erik-kallen (2013-08-06 19:00:53+00:00)
Title: Fixed problem converting assembly attributes in the IKVM loader.

If we had

Assembly1:

public class MyAttribute {}

Assembly2:

[assembly: MyAttribute]

and we then tried to load Assembly2 with the IKVM loader, the loader would think that the attribute MyAttribute is defined in Assembly2 insteadof Assembly1. This would later cause the resolver to fail to resolve the attribute.

@dgrunwald, @mkrueger: Can you please take a look at this asap? The fix does solve my problem (erik-kallen/SaltarelleCompiler#232) and it doesn't cause any test failures; neither in NRefactory nor in my project, but it looks like it was a conscious decision to write the code as it was. The problem manifested itself on line 313 (in IkvmLoader.cs)