{"action":"opened","issue":{"url":"https://api.github.com/repos/stryker-mutator/stryker-net/issues/166","repository_url":"https://api.github.com/repos/stryker-mutator/stryker-net","labels_url":"https://api.github.com/repos/stryker-mutator/stryker-net/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/stryker-mutator/stryker-net/issues/166/comments","events_url":"https://api.github.com/repos/stryker-mutator/stryker-net/issues/166/events","html_url":"https://github.com/stryker-mutator/stryker-net/issues/166","id":367543491,"node_id":"MDU6SXNzdWUzNjc1NDM0OTE=","number":166,"title":"Linq mutator proposal","user":{"login":"richardwerkman","id":14224500,"node_id":"MDQ6VXNlcjE0MjI0NTAw","avatar_url":"https://avatars3.githubusercontent.com/u/14224500?v=4","gravatar_id":"","url":"https://api.github.com/users/richardwerkman","html_url":"https://github.com/richardwerkman","followers_url":"https://api.github.com/users/richardwerkman/followers","following_url":"https://api.github.com/users/richardwerkman/following{/other_user}","gists_url":"https://api.github.com/users/richardwerkman/gists{/gist_id}","starred_url":"https://api.github.com/users/richardwerkman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richardwerkman/subscriptions","organizations_url":"https://api.github.com/users/richardwerkman/orgs","repos_url":"https://api.github.com/users/richardwerkman/repos","events_url":"https://api.github.com/users/richardwerkman/events{/privacy}","received_events_url":"https://api.github.com/users/richardwerkman/received_events","type":"User","site_admin":false},"labels":[{"id":956089696,"node_id":"MDU6TGFiZWw5NTYwODk2OTY=","url":"https://api.github.com/repos/stryker-mutator/stryker-net/labels/help%20wanted","name":"help wanted","color":"008672","default":true},{"id":956089699,"node_id":"MDU6TGFiZWw5NTYwODk2OTk=","url":"https://api.github.com/repos/stryker-mutator/stryker-net/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-07T11:01:32Z","updated_at":"2018-10-07T11:01:32Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I'm thinking about a cool new mutator for C#. There are a lot of LinQ methods that return the same interface, this makes them suitable for removing and switching. For example:\r\n\r\n``` csharp\r\nvar query = someList.Where(x => x.Name == \"Stryker\").Distinct();\r\nvar query = someList.Where(x => x.Name == \"Stryker\"); // mutated\r\n```\r\nAnd\r\n``` csharp\r\nvar query = someList.Where(x => x.Name == \"Stryker\").Reverse();\r\nvar query = someList.Where(x => x.Name == \"Stryker\"); // mutated\r\n```\r\nAnd\r\n``` csharp\r\nvar query = someList.Where(x => x.Name == \"Stryker\").SingleOrDefault();\r\nvar query = someList.Where(x => x.Name == \"Stryker\").FirstOrDefault(); // mutated\r\n```\r\n\r\nWhat do you guys thinks about a mutator like this? Would this be useful, and if so, what kind of mutations should we make?"}}
{"actor":{"display_login":"richardwerkman"}}