{"action":"created","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1347","repository_url":"https://api.github.com/repos/bridgedotnet/Bridge","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1347/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1347/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1347/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/1347","id":154647615,"number":1347,"title":"All base types give incorrect type names.","user":{"login":"michaelcheers","id":10186738,"avatar_url":"https://avatars.githubusercontent.com/u/10186738?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelcheers","html_url":"https://github.com/michaelcheers","followers_url":"https://api.github.com/users/michaelcheers/followers","following_url":"https://api.github.com/users/michaelcheers/following{/other_user}","gists_url":"https://api.github.com/users/michaelcheers/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelcheers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelcheers/subscriptions","organizations_url":"https://api.github.com/users/michaelcheers/orgs","repos_url":"https://api.github.com/users/michaelcheers/repos","events_url":"https://api.github.com/users/michaelcheers/events{/privacy}","received_events_url":"https://api.github.com/users/michaelcheers/received_events","type":"User","site_admin":false},"labels":[{"id":74689535,"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/defect","name":"defect","color":"FF4136","default":false}],"state":"open","locked":false,"assignee":{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false},"assignees":[{"login":"vladsch","id":378225,"avatar_url":"https://avatars.githubusercontent.com/u/378225?v=3","gravatar_id":"","url":"https://api.github.com/users/vladsch","html_url":"https://github.com/vladsch","followers_url":"https://api.github.com/users/vladsch/followers","following_url":"https://api.github.com/users/vladsch/following{/other_user}","gists_url":"https://api.github.com/users/vladsch/gists{/gist_id}","starred_url":"https://api.github.com/users/vladsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladsch/subscriptions","organizations_url":"https://api.github.com/users/vladsch/orgs","repos_url":"https://api.github.com/users/vladsch/repos","events_url":"https://api.github.com/users/vladsch/events{/privacy}","received_events_url":"https://api.github.com/users/vladsch/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/26","html_url":"https://github.com/bridgedotnet/Bridge/milestones/16.0","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/milestones/26/labels","id":1984815,"number":26,"title":"16.0","description":"","creator":{"login":"geoffreymcgill","id":62210,"avatar_url":"https://avatars.githubusercontent.com/u/62210?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreymcgill","html_url":"https://github.com/geoffreymcgill","followers_url":"https://api.github.com/users/geoffreymcgill/followers","following_url":"https://api.github.com/users/geoffreymcgill/following{/other_user}","gists_url":"https://api.github.com/users/geoffreymcgill/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreymcgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreymcgill/subscriptions","organizations_url":"https://api.github.com/users/geoffreymcgill/orgs","repos_url":"https://api.github.com/users/geoffreymcgill/repos","events_url":"https://api.github.com/users/geoffreymcgill/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreymcgill/received_events","type":"User","site_admin":false},"open_issues":41,"closed_issues":2,"state":"open","created_at":"2016-09-05T19:44:51Z","updated_at":"2016-11-28T19:18:36Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-05-13T07:10:44Z","updated_at":"2016-11-29T08:43:05Z","closed_at":null,"body":"This is a combination of lots of type issues and a few new ones:\n- [ ] Function types (eg. Action and Func) give the type Function.\n- [ ] Double (s) which can be int (s) are int (s) with GetType eg(3.0).\n- [ ] Float (s) give type double.\n- [ ] Array (s) don't give types and give type 'Array'.\n- [ ] Type (s) give type 'Function' not System.RuntimeType\n- [x] Type (s) give Bridge.{type} not System.{type} (eg. Bridge.Int32 not System.Int32).\n- [ ] Built in type (s) don't give mscorlib.\n- [ ] Some type (s) give Int32 or Double as a type not their type (eg. byte, uint, ushort, short, int, any enum).\n- [ ] Anonymous type (s) give $AnonymousType$(Number of fields) not mscorlib type. \n### Expected\n\n``` javascript\nSystem.String, System.Int32, System.Byte, System.UInt32, System.Int64, System.UInt64, System.Int16, System.UInt16, System.SByte, System.String[], System.Func`2[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.RuntimeType, System.Boolean, App+Enum, System.RuntimeType, System.RuntimeType, System.RuntimeType, System.RuntimeType, System.Double, System.Single, System.Char, System.Decimal, <>f__AnonymousType0`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], System.Collections.Generic.List`1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]\n```\n### Actual\n\n``` javascript\nString, Bridge.Int32, Bridge.Int32, Bridge.Int32, Bridge.Long, Bridge.ULong, Bridge.Int32, Bridge.Int32, Bridge.Int32, Array, Function, Function, Boolean, Bridge.Int32, Function, Function, Function, Function, Bridge.Int32, Bridge.Int32, Bridge.Int32, Bridge.Decimal, Object, Bridge.List$1$Bridge.Int32\n```\n### Steps To Reproduce\n\n[Dot Net Fiddle](https://dotnetfiddle.net/DUwfW1)\n[Live Bridge](http://live.bridge.net/#bd0c40ccd63faf8c56b9c67b8971f9de)\n\n``` csharp\n/// <summary>\n/// Creates a simple class\n/// </summary>\npublic class App\n{\n    // Use the [Ready] attribute to automatically\n    // run this method when the page is ready.\n    [Ready]\n    public static void Main()\n    {\n        var array = new object[]\n        {\n            \"abc\",\n            7,\n            (byte)7,\n            7u,\n            7l,\n            7lu,\n            (short)7,\n            (ushort)8,\n            (sbyte)9,\n            new[]{\"Hello World\"},\n            ((Func<int, string>)(v => \"Hello World\")),\n            7.GetType(),\n            false,\n            Enum.Value,\n            //typeof(void),\n            typeof(Type),\n            typeof(Action),\n            typeof(Func<int>),\n            typeof(Enum),\n            3.0,\n            3f,\n            'a',\n            7m,\n            new{Id=3},\n                new List<int>{1, 2, 3}\n        };\n        Console.WriteLine(string.Join(\", \", array.ToList().ConvertAll(v => v.GetType().FullName).ToArray()));\n    }\n\n    enum Enum\n    {\n        Value\n    }\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/comments/263509798","html_url":"https://github.com/bridgedotnet/Bridge/issues/1347#issuecomment-263509798","issue_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1347","id":263509798,"user":{"login":"Porl91","id":13272784,"avatar_url":"https://avatars.githubusercontent.com/u/13272784?v=3","gravatar_id":"","url":"https://api.github.com/users/Porl91","html_url":"https://github.com/Porl91","followers_url":"https://api.github.com/users/Porl91/followers","following_url":"https://api.github.com/users/Porl91/following{/other_user}","gists_url":"https://api.github.com/users/Porl91/gists{/gist_id}","starred_url":"https://api.github.com/users/Porl91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Porl91/subscriptions","organizations_url":"https://api.github.com/users/Porl91/orgs","repos_url":"https://api.github.com/users/Porl91/repos","events_url":"https://api.github.com/users/Porl91/events{/privacy}","received_events_url":"https://api.github.com/users/Porl91/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T08:43:05Z","updated_at":"2016-11-29T08:43:05Z","body":"Hi @geoffreymcgill, thanks for replying. That's good news!"}}
{"actor":{"display_login":"Porl91"}}