{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/6309","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/6309/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/6309/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/6309/events","html_url":"https://github.com/dotnet/roslyn/issues/6309","id":113233014,"number":6309,"title":"Floating point casts are incorrectly reported as redundant","user":{"login":"SLaks","id":313894,"avatar_url":"https://avatars.githubusercontent.com/u/313894?v=3","gravatar_id":"","url":"https://api.github.com/users/SLaks","html_url":"https://github.com/SLaks","followers_url":"https://api.github.com/users/SLaks/followers","following_url":"https://api.github.com/users/SLaks/following{/other_user}","gists_url":"https://api.github.com/users/SLaks/gists{/gist_id}","starred_url":"https://api.github.com/users/SLaks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SLaks/subscriptions","organizations_url":"https://api.github.com/users/SLaks/orgs","repos_url":"https://api.github.com/users/SLaks/repos","events_url":"https://api.github.com/users/SLaks/events{/privacy}","received_events_url":"https://api.github.com/users/SLaks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/4","html_url":"https://github.com/dotnet/roslyn/milestones/1.2","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/4/labels","id":937402,"number":4,"title":"1.2","description":"This is our 1.2 Milestone.\r\n\r\n<!---\r\n@huboard:{\"order\":2.0}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":577,"closed_issues":209,"state":"open","created_at":"2015-01-15T20:48:55Z","updated_at":"2015-12-07T04:48:35Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-10-25T15:41:33Z","updated_at":"2015-12-07T17:36:07Z","closed_at":null,"body":"http://blog.paranoidcoding.com/2014/12/22/redundant-cast.html\r\n\r\nExample:\r\n\r\n```C#\r\nfloat X() => 2 / (float)X();\r\n```\r\n\r\nRemoving the `(float)` [changes the generated IL](http://tryroslyn.azurewebsites.net/#f:>ilr/K4Zwlgdg5gBAygTxAFwKYFsDcAoADsAIwBswBjGUogQxBBgGEYBvGV7V1gMyIHsrkYADQAUAShgBeAHwwATDAD0MYdz7JRI0TgC+QA==), yet the IDE still grays it."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/162602257","html_url":"https://github.com/dotnet/roslyn/issues/6309#issuecomment-162602257","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/6309","id":162602257,"user":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T17:36:07Z","updated_at":"2015-12-07T17:36:07Z","body":"@bgrainger it won't appear until the C# 6.0 spec is released.  I'm not sure what the ETA is for that.  "}}