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)
commit3bda9496aee560b5979b420a29dbcd755e81ec18
treee3e02d8fd48520fc71ae9e1093139acd26121d9c
parent56e413a81e5e05fe5157546559de5b1e0b81214c
parent30faaa5bf2a835204146c1479351191e4281e9cf
Merge pull request #3863 from lambdageek/dev-42584-take4

[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