{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/corefx/issues/3217","labels_url":"https://api.github.com/repos/dotnet/corefx/issues/3217/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corefx/issues/3217/comments","events_url":"https://api.github.com/repos/dotnet/corefx/issues/3217/events","html_url":"https://github.com/dotnet/corefx/issues/3217","id":106197282,"number":3217,"title":"Expression interpreter - LoadField and StoreField don't generate NullReferenceException","user":{"login":"bartdesmet","id":7324746,"avatar_url":"https://avatars.githubusercontent.com/u/7324746?v=3","gravatar_id":"","url":"https://api.github.com/users/bartdesmet","html_url":"https://github.com/bartdesmet","followers_url":"https://api.github.com/users/bartdesmet/followers","following_url":"https://api.github.com/users/bartdesmet/following{/other_user}","gists_url":"https://api.github.com/users/bartdesmet/gists{/gist_id}","starred_url":"https://api.github.com/users/bartdesmet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartdesmet/subscriptions","organizations_url":"https://api.github.com/users/bartdesmet/orgs","repos_url":"https://api.github.com/users/bartdesmet/repos","events_url":"https://api.github.com/users/bartdesmet/events{/privacy}","received_events_url":"https://api.github.com/users/bartdesmet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-13T03:35:16Z","updated_at":"2015-09-13T03:35:16Z","closed_at":null,"body":"Consider the following expression:\r\n\r\nExpression.Field(Expression.Constant(null, typeof(Bar)), \"Foo\")\r\n\r\nThe expression interpreter will throw a TargetException rather than a NullReferenceException due to the use of GetValue (or SetValue for the corresponding assignment instruction)."}}