{"action":"created","issue":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1569","repository_url":"https://api.github.com/repos/bridgedotnet/Bridge","labels_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1569/labels{/name}","comments_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1569/comments","events_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1569/events","html_url":"https://github.com/bridgedotnet/Bridge/issues/1569","id":168666632,"number":1569,"title":"Ref parameter - cannot use reference to this","user":{"login":"LeonidVeriga","id":11466613,"avatar_url":"https://avatars.githubusercontent.com/u/11466613?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonidVeriga","html_url":"https://github.com/LeonidVeriga","followers_url":"https://api.github.com/users/LeonidVeriga/followers","following_url":"https://api.github.com/users/LeonidVeriga/following{/other_user}","gists_url":"https://api.github.com/users/LeonidVeriga/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidVeriga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidVeriga/subscriptions","organizations_url":"https://api.github.com/users/LeonidVeriga/orgs","repos_url":"https://api.github.com/users/LeonidVeriga/repos","events_url":"https://api.github.com/users/LeonidVeriga/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidVeriga/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/defect","name":"defect","color":"FF4136"},{"url":"https://api.github.com/repos/bridgedotnet/Bridge/labels/portage","name":"portage","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"LeonidVeriga","id":11466613,"avatar_url":"https://avatars.githubusercontent.com/u/11466613?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonidVeriga","html_url":"https://github.com/LeonidVeriga","followers_url":"https://api.github.com/users/LeonidVeriga/followers","following_url":"https://api.github.com/users/LeonidVeriga/following{/other_user}","gists_url":"https://api.github.com/users/LeonidVeriga/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidVeriga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidVeriga/subscriptions","organizations_url":"https://api.github.com/users/LeonidVeriga/orgs","repos_url":"https://api.github.com/users/LeonidVeriga/repos","events_url":"https://api.github.com/users/LeonidVeriga/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidVeriga/received_events","type":"User","site_admin":false},"assignees":[{"login":"LeonidVeriga","id":11466613,"avatar_url":"https://avatars.githubusercontent.com/u/11466613?v=3","gravatar_id":"","url":"https://api.github.com/users/LeonidVeriga","html_url":"https://github.com/LeonidVeriga","followers_url":"https://api.github.com/users/LeonidVeriga/followers","following_url":"https://api.github.com/users/LeonidVeriga/following{/other_user}","gists_url":"https://api.github.com/users/LeonidVeriga/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonidVeriga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonidVeriga/subscriptions","organizations_url":"https://api.github.com/users/LeonidVeriga/orgs","repos_url":"https://api.github.com/users/LeonidVeriga/repos","events_url":"https://api.github.com/users/LeonidVeriga/events{/privacy}","received_events_url":"https://api.github.com/users/LeonidVeriga/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-08-01T14:58:35Z","updated_at":"2016-08-09T13:02:12Z","closed_at":null,"body":"### Steps To Reproduce\r\n\r\n```csharp\r\npublic class App\r\n{\r\n    public static void Main()\r\n    {\r\n        new S().RefThisTest();\r\n    }\r\n\r\n  private struct S\r\n   {\r\n       public int i, j;\r\n\r\n       public S(int i, int j)\r\n       {\r\n           this.i = i;\r\n           this.j = j;\r\n       }\r\n\r\n       public void RefThisTest()\r\n       {\r\n           i = 11;\r\n           j = 12;\r\n           M(ref this);\r\n           Assert.AreEqual(i, 42);\r\n           Assert.AreEqual(j, 43);\r\n       }\r\n\r\n       private static void M(ref S s)\r\n       {\r\n           Assert.AreEqual(s.i, 11);\r\n           Assert.AreEqual(s.j, 12);\r\n           s = new S(42, 43);\r\n           Assert.AreEqual(s.i, 42);\r\n           Assert.AreEqual(s.j, 43);\r\n       }\r\n   }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/comments/238545383","html_url":"https://github.com/bridgedotnet/Bridge/issues/1569#issuecomment-238545383","issue_url":"https://api.github.com/repos/bridgedotnet/Bridge/issues/1569","id":238545383,"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},"created_at":"2016-08-09T13:02:11Z","updated_at":"2016-08-09T13:02:11Z","body":"@LeonidVeriga, it's not allowed in native C#, [see this](https://dotnetfiddle.net/gEGhVn)."}}
{"actor":{"display_login":"michaelcheers"}}