Merge pull request #3863 from lambdageek/dev-42584-take4
authorAleksey Kliger (λgeek) <akliger@gmail.com>
Wed, 2 Nov 2016 15:17:55 +0000 (11:17 -0400)
committerGitHub <noreply@github.com>
Wed, 2 Nov 2016 15:17:55 +0000 (11:17 -0400)
[custom-attrs] Add a low level iterator for custom attributes on assemblies

And use it to check for the reference assembly attribute.

Using the low level APIs means we don't trigger load of referenced
assemblies and we don't need to take locks, so it is safe to call this
during assembly loading.

Follow up work for https://bugzilla.xamarin.com/show_bug.cgi?id=42584


Trivial merge