{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/8030","repository_url":"https://api.github.com/repos/dotnet/corefx","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/8030/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/8030/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/8030/events","html_url":"https://github.com/dotnet/corefx/pull/8030","id":150686444,"number":8030,"title":"Make interpreter act like compiler on member bindings","user":{"login":"JonHanna","id":1253369,"avatar_url":"https://avatars.githubusercontent.com/u/1253369?v=3","gravatar_id":"","url":"https://api.github.com/users/JonHanna","html_url":"https://github.com/JonHanna","followers_url":"https://api.github.com/users/JonHanna/followers","following_url":"https://api.github.com/users/JonHanna/following{/other_user}","gists_url":"https://api.github.com/users/JonHanna/gists{/gist_id}","starred_url":"https://api.github.com/users/JonHanna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JonHanna/subscriptions","organizations_url":"https://api.github.com/users/JonHanna/orgs","repos_url":"https://api.github.com/users/JonHanna/repos","events_url":"https://api.github.com/users/JonHanna/events{/privacy}","received_events_url":"https://api.github.com/users/JonHanna/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/corefx/labels/cla-already-signed","name":"cla-already-signed","color":"009800"},{"url":"https://api.github.com/repos/dotnet/corefx/labels/netfx-port-consider","name":"netfx-port-consider","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"VSadov","id":8218165,"avatar_url":"https://avatars.githubusercontent.com/u/8218165?v=3","gravatar_id":"","url":"https://api.github.com/users/VSadov","html_url":"https://github.com/VSadov","followers_url":"https://api.github.com/users/VSadov/followers","following_url":"https://api.github.com/users/VSadov/following{/other_user}","gists_url":"https://api.github.com/users/VSadov/gists{/gist_id}","starred_url":"https://api.github.com/users/VSadov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VSadov/subscriptions","organizations_url":"https://api.github.com/users/VSadov/orgs","repos_url":"https://api.github.com/users/VSadov/repos","events_url":"https://api.github.com/users/VSadov/events{/privacy}","received_events_url":"https://api.github.com/users/VSadov/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-24T18:16:02Z","updated_at":"2016-04-28T22:43:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dotnet/corefx/pulls/8030","html_url":"https://github.com/dotnet/corefx/pull/8030","diff_url":"https://github.com/dotnet/corefx/pull/8030.diff","patch_url":"https://github.com/dotnet/corefx/pull/8030.patch"},"body":"Fixes #5963.\r\n\r\nAdd/update tests to consider the compiler behaviour as correct with regard to the permutations mentioned in #5963, with `ActiveIssue` tests for those cases where the interpreter differs. Then have the interpreter act like the compiler for each such case."},"comment":{"url":"https://api.github.com/repos/dotnet/corefx/issues/comments/215584712","html_url":"https://github.com/dotnet/corefx/pull/8030#issuecomment-215584712","issue_url":"https://api.github.com/repos/dotnet/corefx/issues/8030","id":215584712,"user":{"login":"VSadov","id":8218165,"avatar_url":"https://avatars.githubusercontent.com/u/8218165?v=3","gravatar_id":"","url":"https://api.github.com/users/VSadov","html_url":"https://github.com/VSadov","followers_url":"https://api.github.com/users/VSadov/followers","following_url":"https://api.github.com/users/VSadov/following{/other_user}","gists_url":"https://api.github.com/users/VSadov/gists{/gist_id}","starred_url":"https://api.github.com/users/VSadov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VSadov/subscriptions","organizations_url":"https://api.github.com/users/VSadov/orgs","repos_url":"https://api.github.com/users/VSadov/repos","events_url":"https://api.github.com/users/VSadov/events{/privacy}","received_events_url":"https://api.github.com/users/VSadov/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T22:43:42Z","updated_at":"2016-04-28T22:43:42Z","body":"If starting anew, I would prefer adding checks to ValidateSettableFieldOrPropertyMember. Doing that now might cause compat troubles though.\r\n\r\nI think we should match CoreFx compiler behavior, not the desktop. Desktop seems to just do extra verification checks, since verification is still a thing for the desktop. Presumably, if accessibility is honored by the platform, it should apply to reflection as well.\r\n\r\nBut we should throw a different exception. \r\nI am not sure InvalidProgramException is supposed to be thrown form the code. it seems to be documented to mean \"invalid IL\"."}}