{"action":"created","issue":{"url":"https://api.github.com/repos/mono/mono/issues/7502","repository_url":"https://api.github.com/repos/mono/mono","labels_url":"https://api.github.com/repos/mono/mono/issues/7502/labels{/name}","comments_url":"https://api.github.com/repos/mono/mono/issues/7502/comments","events_url":"https://api.github.com/repos/mono/mono/issues/7502/events","html_url":"https://github.com/mono/mono/issues/7502","id":303593627,"number":7502,"title":"(x * y).<AnyMethod()> fails to compile without assignment","user":{"login":"ashwinimurt","id":36935028,"avatar_url":"https://avatars2.githubusercontent.com/u/36935028?v=4","gravatar_id":"","url":"https://api.github.com/users/ashwinimurt","html_url":"https://github.com/ashwinimurt","followers_url":"https://api.github.com/users/ashwinimurt/followers","following_url":"https://api.github.com/users/ashwinimurt/following{/other_user}","gists_url":"https://api.github.com/users/ashwinimurt/gists{/gist_id}","starred_url":"https://api.github.com/users/ashwinimurt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashwinimurt/subscriptions","organizations_url":"https://api.github.com/users/ashwinimurt/orgs","repos_url":"https://api.github.com/users/ashwinimurt/repos","events_url":"https://api.github.com/users/ashwinimurt/events{/privacy}","received_events_url":"https://api.github.com/users/ashwinimurt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-08T19:01:48Z","updated_at":"2018-03-08T22:04:34Z","closed_at":null,"author_association":"NONE","body":"## Steps to Reproduce\r\n\r\nRun this test case:\r\n```\r\nusing System;\r\nusing System.Numerics;\r\nclass Program {\r\n\r\n\tstatic void Main()\r\n\t{\r\n\t    int x = 10;\r\n\t    int y = 20;\r\n\t    (x * y).ToString();\r\n\r\n\t    Quaternion A = Quaternion.Identity;\r\n\t    Quaternion B = Quaternion.Identity;\r\n\t    (B * Quaternion.Inverse(A)).ToString();\r\n    }\r\n}\r\n```\r\n\r\n## Current Behavior\r\nCompilation fails \r\nErrors:\r\n![image](https://user-images.githubusercontent.com/36935028/37170190-2bf7f49e-22d8-11e8-92e2-cf96ff073c02.png)\r\n\r\n(C# compiler succeeds)\r\n\r\nChange line 9 from `(x * y).ToString();` to `string test= (x * y).ToString();` -> no error on that line.\r\n\r\n## Expected Behavior\r\nCompilation succeeds\r\n\r\n### On which platforms did you notice this\r\n\r\n[ ] macOS\r\n[ ] Linux\r\n[x] Windows\r\n\r\n**Version Used**:\r\n\r\n```Mono JIT compiler version 5.11.0 (Visual Studio built mono)\r\nCopyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com\r\n        TLS:           normal\r\n        SIGSEGV:       normal\r\n        Notification:  Thread + polling\r\n        Architecture:  x86\r\n        Disabled:      none\r\n        Misc:          softdebug\r\n        Interpreter:   yes\r\n        LLVM:          supported, not enabled.\r\n        GC:            sgen (concurrent by default)```\r\n\r\n### Stacktrace\r\n```\r\nPlease paste the stacktrace here if available.\r\n```\r\n\r\n<!--\r\n\r\nYou can join us at https://gitter.im/mono/mono to discuss your reported issue\r\n\r\n-->"},"comment":{"url":"https://api.github.com/repos/mono/mono/issues/comments/371640346","html_url":"https://github.com/mono/mono/issues/7502#issuecomment-371640346","issue_url":"https://api.github.com/repos/mono/mono/issues/7502","id":371640346,"user":{"login":"akoeplinger","id":1376924,"avatar_url":"https://avatars2.githubusercontent.com/u/1376924?v=4","gravatar_id":"","url":"https://api.github.com/users/akoeplinger","html_url":"https://github.com/akoeplinger","followers_url":"https://api.github.com/users/akoeplinger/followers","following_url":"https://api.github.com/users/akoeplinger/following{/other_user}","gists_url":"https://api.github.com/users/akoeplinger/gists{/gist_id}","starred_url":"https://api.github.com/users/akoeplinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akoeplinger/subscriptions","organizations_url":"https://api.github.com/users/akoeplinger/orgs","repos_url":"https://api.github.com/users/akoeplinger/repos","events_url":"https://api.github.com/users/akoeplinger/events{/privacy}","received_events_url":"https://api.github.com/users/akoeplinger/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T22:04:34Z","updated_at":"2018-03-08T22:04:34Z","author_association":"MEMBER","body":"This compiles fine with `csc`, so it's an `mcs` bug."}}
{"actor":{"display_login":"akoeplinger"}}