{"action":"opened","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/31865","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/31865/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/31865/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/31865/events","html_url":"https://github.com/dotnet/roslyn/issues/31865","id":391810210,"node_id":"MDU6SXNzdWUzOTE4MTAyMTA=","number":31865,"title":"CS8625 on call to Interlocked.Exchange with null","user":{"login":"Pilchie","id":312835,"node_id":"MDQ6VXNlcjMxMjgzNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/312835?v=4","gravatar_id":"","url":"https://api.github.com/users/Pilchie","html_url":"https://github.com/Pilchie","followers_url":"https://api.github.com/users/Pilchie/followers","following_url":"https://api.github.com/users/Pilchie/following{/other_user}","gists_url":"https://api.github.com/users/Pilchie/gists{/gist_id}","starred_url":"https://api.github.com/users/Pilchie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pilchie/subscriptions","organizations_url":"https://api.github.com/users/Pilchie/orgs","repos_url":"https://api.github.com/users/Pilchie/repos","events_url":"https://api.github.com/users/Pilchie/events{/privacy}","received_events_url":"https://api.github.com/users/Pilchie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-17T17:14:46Z","updated_at":"2018-12-17T17:14:46Z","closed_at":null,"author_association":"MEMBER","body":"**Version Used**: \r\n3.0.0-beta2-18616-01\r\n\r\n**Steps to Reproduce**:\r\n```C#\r\nusing System.Threading;\r\n\r\nclass C\r\n{\r\n    public C()\r\n    {\r\n        var cts = new CancellationTokenSource();\r\n        Interlocked.Exchange(ref cts, null);\r\n    }\r\n}\r\n``` \r\n\r\n**Expected Behavior**:\r\nNo warning\r\n\r\n**Actual Behavior**:\r\nProgram.cs(8,39,8,43): warning CS8625: Cannot convert null literal to non-nullable reference or unconstrained type parameter.\r\n\r\nAs Interlocked.Exchange isn't annotated, I can't tell why I'm, getting this warning."}}
{"actor":{"display_login":"Pilchie"}}