{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/31437","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/31437/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/31437/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/31437/events","html_url":"https://github.com/dotnet/roslyn/issues/31437","id":385704060,"node_id":"MDU6SXNzdWUzODU3MDQwNjA=","number":31437,"title":"This error need to be correct or improved in a better way ?","user":{"login":"anirudhagupta","id":35772421,"node_id":"MDQ6VXNlcjM1NzcyNDIx","avatar_url":"https://avatars3.githubusercontent.com/u/35772421?v=4","gravatar_id":"","url":"https://api.github.com/users/anirudhagupta","html_url":"https://github.com/anirudhagupta","followers_url":"https://api.github.com/users/anirudhagupta/followers","following_url":"https://api.github.com/users/anirudhagupta/following{/other_user}","gists_url":"https://api.github.com/users/anirudhagupta/gists{/gist_id}","starred_url":"https://api.github.com/users/anirudhagupta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anirudhagupta/subscriptions","organizations_url":"https://api.github.com/users/anirudhagupta/orgs","repos_url":"https://api.github.com/users/anirudhagupta/repos","events_url":"https://api.github.com/users/anirudhagupta/events{/privacy}","received_events_url":"https://api.github.com/users/anirudhagupta/received_events","type":"User","site_admin":false},"labels":[{"id":166673288,"node_id":"MDU6TGFiZWwxNjY2NzMyODg=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7","default":false},{"id":180215006,"node_id":"MDU6TGFiZWwxODAyMTUwMDY=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Concept-Diagnostic%20Clarity","name":"Concept-Diagnostic Clarity","color":"fef2c0","default":false},{"id":165001072,"node_id":"MDU6TGFiZWwxNjUwMDEwNzI=","url":"https://api.github.com/repos/dotnet/roslyn/labels/help%20wanted","name":"help wanted","color":"0e8a16","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/2","html_url":"https://github.com/dotnet/roslyn/milestone/2","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/2/labels","id":937398,"node_id":"MDk6TWlsZXN0b25lOTM3Mzk4","number":2,"title":"Backlog","description":"This represents work which is not planned for a specific release.\r\n\r\n<!---\r\n@huboard:{\"order\":0.25}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"node_id":"MDQ6VXNlcjE0Njk2Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/146967?v=4","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":3364,"closed_issues":578,"state":"open","created_at":"2015-01-15T20:46:02Z","updated_at":"2018-12-16T19:25:59Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-11-29T12:03:44Z","updated_at":"2018-12-16T21:06:59Z","closed_at":null,"author_association":"NONE","body":" I have a codebase in which parent class contain a method called Print()\r\n\r\n` public override void Print(object sender, PrintPageEventArgs e)\r\n        {\r\n        }`\r\n\r\nNow if I don't have a PrintPageEventArgs's namespace referenced in my .cs file it says \"No suitable method found to override\". This trick my mind to think that the print method doesn't exist in the base class (It might derived from the class which don't have Print() method to override) or  I am doing something wrong. When I add the namespace the problem get fixed.\r\n\r\nwhat I am proposing here is simply giving an error for \"please fix the namespace for this \"PrintPageEventArgs\". The current error \"nothing to override\" make confusion. I think I derived it from a class which doesn't have a print method to override.\r\n\r\nI might be wrong here, My belief is showing the error to fix namespace instead of saying \"Nothing to override\".\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/447675908","html_url":"https://github.com/dotnet/roslyn/issues/31437#issuecomment-447675908","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/31437","id":447675908,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzY3NTkwOA==","user":{"login":"svick","id":287848,"node_id":"MDQ6VXNlcjI4Nzg0OA==","avatar_url":"https://avatars3.githubusercontent.com/u/287848?v=4","gravatar_id":"","url":"https://api.github.com/users/svick","html_url":"https://github.com/svick","followers_url":"https://api.github.com/users/svick/followers","following_url":"https://api.github.com/users/svick/following{/other_user}","gists_url":"https://api.github.com/users/svick/gists{/gist_id}","starred_url":"https://api.github.com/users/svick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svick/subscriptions","organizations_url":"https://api.github.com/users/svick/orgs","repos_url":"https://api.github.com/users/svick/repos","events_url":"https://api.github.com/users/svick/events{/privacy}","received_events_url":"https://api.github.com/users/svick/received_events","type":"User","site_admin":false},"created_at":"2018-12-16T21:06:59Z","updated_at":"2018-12-16T21:06:59Z","author_association":"CONTRIBUTOR","body":"When I try to do this, [I get two errors](https://sharplab.io/#v2:C4LgbgpgTglgZgTwD4DsCGBbCBnADmgYwgAIA5AWACgBvK4+4gAQCZiAFWFYNtAcwgCikLgEEovbMWoBfOgzn0WxAEIKpagJCMAzMTAwowAK5oANkwAs7TsAAUAewBGAKwgFgxbBBQATaABprGC4efiFvYDEJYggASilZSgZiRMSqJQARYhAyADpVGjUdYntIKFg/SyCuBxc3Dy9fAOruPkFhSPFJOLVaJIZUoA=):\r\n\r\n>    error CS0246: The type or namespace name 'PrintPageEventArgs' could not be found (are you missing a using directive or an assembly reference?)\r\n>   error CS0115: 'D.Print(object, PrintPageEventArgs)': no suitable method found to override\r\n\r\nThe second one is the one you mentioned, but the first one says that you're missing a `using`, which is what you want. Is that not what you see?"}}
{"actor":{"display_login":"svick"}}