Add test coverage for ldtoken with members (dotnet/coreclr#9713)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Wed, 22 Feb 2017 20:04:37 +0000 (12:04 -0800)
committerGitHub <noreply@github.com>
Wed, 22 Feb 2017 20:04:37 +0000 (12:04 -0800)
commit46665e5337150a36844ec6706f9a53d3b8a1dcda
treea6a2e325e20f50409800e5c05a784347c14978ac
parent0831475ce1887e869b38d25dcd668ad3da794723
Add test coverage for ldtoken with members (dotnet/coreclr#9713)

The test coverage for `ldtoken field X` and `ldtoken method X` in the
repo is very small - this test tries to improve things a little.

In particular, it tests that we get the right reflection objects, and
that we can do this from shared and unshared code.

Commit migrated from https://github.com/dotnet/coreclr/commit/4ae7ce48780c2db9ca8b4208c89b0db6aae97187
src/coreclr/tests/src/reflection/ldtoken/ldtokenmember.il [new file with mode: 0644]
src/coreclr/tests/src/reflection/ldtoken/ldtokenmember.ilproj [new file with mode: 0644]