{"action":"created","issue":{"url":"https://api.github.com/repos/neolithos/neolua/issues/26","labels_url":"https://api.github.com/repos/neolithos/neolua/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/neolithos/neolua/issues/26/comments","events_url":"https://api.github.com/repos/neolithos/neolua/issues/26/events","html_url":"https://github.com/neolithos/neolua/issues/26","id":119297270,"number":26,"title":"Overload resolution issue on NeoLua 1.1.1","user":{"login":"ntauthority","id":4003429,"avatar_url":"https://avatars.githubusercontent.com/u/4003429?v=3","gravatar_id":"","url":"https://api.github.com/users/ntauthority","html_url":"https://github.com/ntauthority","followers_url":"https://api.github.com/users/ntauthority/followers","following_url":"https://api.github.com/users/ntauthority/following{/other_user}","gists_url":"https://api.github.com/users/ntauthority/gists{/gist_id}","starred_url":"https://api.github.com/users/ntauthority/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntauthority/subscriptions","organizations_url":"https://api.github.com/users/ntauthority/orgs","repos_url":"https://api.github.com/users/ntauthority/repos","events_url":"https://api.github.com/users/ntauthority/events{/privacy}","received_events_url":"https://api.github.com/users/ntauthority/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-28T14:23:12Z","updated_at":"2016-01-22T14:26:57Z","closed_at":null,"body":"```\r\nNeoLua Interactive Command\r\nVersion NeoLua 5.3 (1.1.1.0) by neolithos\r\n\r\n  source code at http://neolua.codeplex.com\r\n  supported from http://tecware-gmbh.de\r\n\r\n  Write ':h' for help.\r\n\r\n> utf8 = clr.System.Text.Encoding.UTF8\r\n> utf8:GetBytes('hi')\r\n>\r\nArgumentNullException: Array cannot be null.\r\nParameter name: bytes\r\n at line(LuaTable _G) line line:2:1\r\n```\r\n\r\nIt seems (from the stack trace in my actual application) it tries to call the UTF8Encoding.GetBytes(String, Int32, Int32, Byte[], Int32) overload, rather than GetBytes(String) as requested."},"comment":{"url":"https://api.github.com/repos/neolithos/neolua/issues/comments/173934531","html_url":"https://github.com/neolithos/neolua/issues/26#issuecomment-173934531","issue_url":"https://api.github.com/repos/neolithos/neolua/issues/26","id":173934531,"user":{"login":"neolithos","id":9724420,"avatar_url":"https://avatars.githubusercontent.com/u/9724420?v=3","gravatar_id":"","url":"https://api.github.com/users/neolithos","html_url":"https://github.com/neolithos","followers_url":"https://api.github.com/users/neolithos/followers","following_url":"https://api.github.com/users/neolithos/following{/other_user}","gists_url":"https://api.github.com/users/neolithos/gists{/gist_id}","starred_url":"https://api.github.com/users/neolithos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neolithos/subscriptions","organizations_url":"https://api.github.com/users/neolithos/orgs","repos_url":"https://api.github.com/users/neolithos/repos","events_url":"https://api.github.com/users/neolithos/events{/privacy}","received_events_url":"https://api.github.com/users/neolithos/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T14:26:57Z","updated_at":"2016-01-22T14:26:57Z","body":"This is the right direction.\r\n\r\nTo get a feeling for the DLR, play a little with the Expression-class and the Compile-Method.\r\nSecound, and this is the harder part, use DynamicExpression for a late compile.\r\n\r\nSource:\r\nhttps://dlr.codeplex.com/wikipage?title=Docs%20and%20specs&referringTitle=Documentation\r\n\r\nFirst read:\r\nhttps://www.codeplex.com/Download?ProjectName=dlr&DownloadId=127512\r\nThen this:\r\nhttps://www.codeplex.com/Download?ProjectName=dlr&DownloadId=127517\r\nAnd the most interesting:\r\nhttps://www.codeplex.com/Download?ProjectName=dlr&DownloadId=127518"}}