payload: {"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/35028","repository_url":"https://api.github.com/repos/dotnet/roslyn","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/35028/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/35028/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/35028/events","html_url":"https://github.com/dotnet/roslyn/issues/35028","id":434036231,"node_id":"MDU6SXNzdWU0MzQwMzYyMzE=","number":35028,"title":"VB Editor changed VB keywords casing although they are used as literal strings in my code!","user":{"login":"VBAndCs","id":48354902,"node_id":"MDQ6VXNlcjQ4MzU0OTAy","avatar_url":"https://avatars3.githubusercontent.com/u/48354902?v=4","gravatar_id":"","url":"https://api.github.com/users/VBAndCs","html_url":"https://github.com/VBAndCs","followers_url":"https://api.github.com/users/VBAndCs/followers","following_url":"https://api.github.com/users/VBAndCs/following{/other_user}","gists_url":"https://api.github.com/users/VBAndCs/gists{/gist_id}","starred_url":"https://api.github.com/users/VBAndCs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VBAndCs/subscriptions","organizations_url":"https://api.github.com/users/VBAndCs/orgs","repos_url":"https://api.github.com/users/VBAndCs/repos","events_url":"https://api.github.com/users/VBAndCs/events{/privacy}","received_events_url":"https://api.github.com/users/VBAndCs/received_events","type":"User","site_admin":false},"labels":[{"id":166377917,"node_id":"MDU6TGFiZWwxNjYzNzc5MTc=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7","default":false},{"id":165001069,"node_id":"MDU6TGFiZWwxNjUwMDEwNjk=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"e52727","default":false},{"id":1207033431,"node_id":"MDU6TGFiZWwxMjA3MDMzNDMx","url":"https://api.github.com/repos/dotnet/roslyn/labels/IDE-Formatter","name":"IDE-Formatter","color":"1d76db","default":false},{"id":912763567,"node_id":"MDU6TGFiZWw5MTI3NjM1Njc=","url":"https://api.github.com/repos/dotnet/roslyn/labels/Need%20Design%20Review","name":"Need Design Review","color":"fbca04","default":false}],"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":3802,"closed_issues":679,"state":"open","created_at":"2015-01-15T20:46:02Z","updated_at":"2019-04-19T00:24:42Z","due_on":null,"closed_at":null},"comments":31,"created_at":"2019-04-17T00:08:48Z","updated_at":"2019-04-20T21:27:50Z","closed_at":null,"author_association":"NONE","body":"**Version Used**: \r\nVS.NET 2019 Communtity\r\n\r\nI had this Function in  VB\r\n```VB.NET\r\n    Private Function convVars(type As String) As String\r\n        If type Is Nothing Then Return Nothing\r\n        Dim t = type.Trim().ToLower()\r\n        Select Case t\r\n            Case \"Byte\", \"SByte\", \"Short\", \"UShort\", \"Long\", \"ULong\", \"douple\", \"Decimal\"\r\n                Return t\r\n            Case \"Integer\"\r\n                Return \"int\"\r\n            Case \"UInteger\"\r\n                Return \"uint\"\r\n            Case \"Single\"\r\n                Return \"float\"\r\n            Case Else\r\n                Return type.Trim().Replace(\r\n                    (\" Byte\", \" Byte\"), (\" SBtye\", \" SByte\"), (\" Short\", \" Short\"),\r\n                    (\" UShort\", \" UShort\"), (\" Long\", \" Long\"), (\" ULong\", \" ULong\"),\r\n                    (\" Double\", \" douple\"), (\" Decimal\", \" Decimal\"),\r\n                    (\" Integer\", \" int\"), (\" UInteger\", \" uint\"), (\" Single\", \" float\"),\r\n                    (\"(Of \", LessThan), (\"Of \", LessThan), (\")\", GreaterThan)\r\n                )\r\n\r\n        End Select\r\n\r\n\r\n    End Function\r\n```\r\n\r\nYou can notice the statement:\r\n` Dim t = type.Trim().ToLower()`\r\nThen I check the values of t using `Select case`\r\nObviously, I wouldn't change to small case the compare with strings containing upper case letters!\r\nThis code isn't what I wrote! The editor suddenly changed the case of all VB keywords although they are just quoted strings!\r\nThis happened also in another function where I used the string \"declare\" but suddenly found it became \"Declare\"!\r\nAlso I found a strange `Then` added after a string although there is no `If` nearby!\r\nThe sudden failure of unit testes (that passed before) reveals all this!\r\nI had to repair all these editor mistakes, but I am afraid to happen again!\r\nI don't know what triggers this strange action. I had these codes running for days! This just happed in the past few minutes, and I have no reason to think about!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/485175613","html_url":"https://github.com/dotnet/roslyn/issues/35028#issuecomment-485175613","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/35028","id":485175613,"node_id":"MDEyOklzc3VlQ29tbWVudDQ4NTE3NTYxMw==","user":{"login":"CyrusNajmabadi","id":4564579,"node_id":"MDQ6VXNlcjQ1NjQ1Nzk=","avatar_url":"https://avatars3.githubusercontent.com/u/4564579?v=4","gravatar_id":"","url":"https://api.github.com/users/CyrusNajmabadi","html_url":"https://github.com/CyrusNajmabadi","followers_url":"https://api.github.com/users/CyrusNajmabadi/followers","following_url":"https://api.github.com/users/CyrusNajmabadi/following{/other_user}","gists_url":"https://api.github.com/users/CyrusNajmabadi/gists{/gist_id}","starred_url":"https://api.github.com/users/CyrusNajmabadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyrusNajmabadi/subscriptions","organizations_url":"https://api.github.com/users/CyrusNajmabadi/orgs","repos_url":"https://api.github.com/users/CyrusNajmabadi/repos","events_url":"https://api.github.com/users/CyrusNajmabadi/events{/privacy}","received_events_url":"https://api.github.com/users/CyrusNajmabadi/received_events","type":"User","site_admin":false},"created_at":"2019-04-20T21:27:50Z","updated_at":"2019-04-20T21:27:50Z","author_association":"CONTRIBUTOR","body":"> This option is a good compromise for vb.net, Roslyn and developers who work in such parsing projects.\r\n\r\nRoslyn hasn't experienced this issue ourselves.  And i don't believe we've heard this from other devs working in parsing projects.  Perhaps it's something about your particular setup. However, without a repro, there is no way to tell."}}
other: {"actor":{"display_login":"CyrusNajmabadi"}}