{"issue":{"created_at":"2011-11-09T22:48:30Z","state":"open","updated_at":"2011-12-03T20:07:55Z","user":{"gravatar_id":"a749cd6560a3b7e5a368d15faa7f2bc0","id":1160680,"url":"https://api.github.com/users/matra774","avatar_url":"https://secure.gravatar.com/avatar/a749cd6560a3b7e5a368d15faa7f2bc0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"matra774"},"comments":4,"body":"Hi,\r\n\r\nI have a question regarding interaction with build in web browser object\r\n\r\nI would like to write code like this in C#:\r\n\r\n    var mySelect=document.getElementById(\"MyId\");\r\n\r\n    mySelect.Add(new Option());\r\n    \r\n    callSomeMethod(mySelect.Value)\r\n\r\n\r\nSelect class is provided by browser. I have defined this class in C#, similar to this:\r\n\r\n    public class Select\r\n    {\r\n\r\n    [JSExternal]\r\n    public string Value\r\n    {\r\n      get\r\n      {\r\n        return null;\r\n      }\r\n      set\r\n      {\r\n      }\r\n    }\r\n\r\n\r\n\r\nthe problem is that MSIL generates \r\n\r\n    JSIL.MakeClass(\"System.Object\", \"Select\", true);\r\n\r\nIs there any way to get rid of this?\r\n\r\nWhat I am trying to achive is to generate Proxy classes in JSIL; that are similar to ScriptSharp: https://github.com/nikhilk/scriptsharp/blob/master/src/Libraries/Web/Html/InputElement.cs","assignee":{"gravatar_id":"09db625490bbe367c4cb8bad064e6725","id":198130,"url":"https://api.github.com/users/kevingadd","avatar_url":"https://secure.gravatar.com/avatar/09db625490bbe367c4cb8bad064e6725?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"kevingadd"},"id":2192446,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Missing Feature","color":"02d7e1","url":"https://api.github.com/repos/kevingadd/JSIL/labels/Missing+Feature"},{"name":"Usability","color":"0b02e1","url":"https://api.github.com/repos/kevingadd/JSIL/labels/Usability"}],"number":35,"title":"Generating proxy classes for browser build in objects","html_url":"https://github.com/kevingadd/JSIL/issues/35","closed_at":null,"url":"https://api.github.com/repos/kevingadd/JSIL/issues/35","milestone":null},"action":"created","comment":{"created_at":"2011-12-03T20:07:55Z","updated_at":"2011-12-03T20:07:55Z","user":{"gravatar_id":"a749cd6560a3b7e5a368d15faa7f2bc0","id":1160680,"url":"https://api.github.com/users/matra774","avatar_url":"https://secure.gravatar.com/avatar/a749cd6560a3b7e5a368d15faa7f2bc0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"matra774"},"body":"Thanks for the update.","id":3002651,"url":"https://api.github.com/repos/kevingadd/JSIL/issues/comments/3002651"}}