{"action":"closed","issue":{"url":"https://api.github.com/repos/DotNetAnalyzers/ReflectionAnalyzers/issues/128","repository_url":"https://api.github.com/repos/DotNetAnalyzers/ReflectionAnalyzers","labels_url":"https://api.github.com/repos/DotNetAnalyzers/ReflectionAnalyzers/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/DotNetAnalyzers/ReflectionAnalyzers/issues/128/comments","events_url":"https://api.github.com/repos/DotNetAnalyzers/ReflectionAnalyzers/issues/128/events","html_url":"https://github.com/DotNetAnalyzers/ReflectionAnalyzers/issues/128","id":365139667,"node_id":"MDU6SXNzdWUzNjUxMzk2Njc=","number":128,"title":"REFL004 should suggest fixes for op_Explicit and op_Implicit overloads","user":{"login":"jnm2","id":8040367,"node_id":"MDQ6VXNlcjgwNDAzNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/8040367?v=4","gravatar_id":"","url":"https://api.github.com/users/jnm2","html_url":"https://github.com/jnm2","followers_url":"https://api.github.com/users/jnm2/followers","following_url":"https://api.github.com/users/jnm2/following{/other_user}","gists_url":"https://api.github.com/users/jnm2/gists{/gist_id}","starred_url":"https://api.github.com/users/jnm2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnm2/subscriptions","organizations_url":"https://api.github.com/users/jnm2/orgs","repos_url":"https://api.github.com/users/jnm2/repos","events_url":"https://api.github.com/users/jnm2/events{/privacy}","received_events_url":"https://api.github.com/users/jnm2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-29T15:03:28Z","updated_at":"2018-10-02T21:08:08Z","closed_at":"2018-10-02T21:08:08Z","author_association":"COLLABORATOR","body":"```c#\r\nclass C\r\n{\r\n    void M()\r\n    {\r\n        typeof(C).GetMethod(\"op_Explicit\");\r\n    }\r\n\r\n    public static explicit operator int(C c) => default;\r\n    public static explicit operator C(int c) => default;\r\n}\r\n```\r\n\r\nGives this diagnostic, but no fixes:\r\n\r\n> REFL004 More than one member is matching the criteria.\r\n\r\nFixes I'd expect:\r\n\r\n```c#\r\ntypeof(C).GetMethod(\"op_Explicit\", new[] { typeof(C) })\r\n```\r\n\r\n```c#\r\ntypeof(C).GetMethod(\"op_Explicit\", new[] { typeof(int) })\r\n```"}}
{"actor":{"display_login":"JohanLarsson"}}