{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4395","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4395/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4395/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4395/events","html_url":"https://github.com/dotnet/roslyn/issues/4395","id":99540479,"number":4395,"title":"visualbasicaddimportcodefixprovider encountered an error and has been disabled...","user":{"login":"lmkz","id":13561008,"avatar_url":"https://avatars.githubusercontent.com/u/13561008?v=3","gravatar_id":"","url":"https://api.github.com/users/lmkz","html_url":"https://github.com/lmkz","followers_url":"https://api.github.com/users/lmkz/followers","following_url":"https://api.github.com/users/lmkz/following{/other_user}","gists_url":"https://api.github.com/users/lmkz/gists{/gist_id}","starred_url":"https://api.github.com/users/lmkz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmkz/subscriptions","organizations_url":"https://api.github.com/users/lmkz/orgs","repos_url":"https://api.github.com/users/lmkz/repos","events_url":"https://api.github.com/users/lmkz/events{/privacy}","received_events_url":"https://api.github.com/users/lmkz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-IDE","name":"Area-IDE","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Resolution-Not%20Reproducible","name":"Resolution-Not Reproducible","color":"CCCCCC"}],"state":"closed","locked":false,"assignee":{"login":"jmarolf","id":9797472,"avatar_url":"https://avatars.githubusercontent.com/u/9797472?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarolf","html_url":"https://github.com/jmarolf","followers_url":"https://api.github.com/users/jmarolf/followers","following_url":"https://api.github.com/users/jmarolf/following{/other_user}","gists_url":"https://api.github.com/users/jmarolf/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarolf/subscriptions","organizations_url":"https://api.github.com/users/jmarolf/orgs","repos_url":"https://api.github.com/users/jmarolf/repos","events_url":"https://api.github.com/users/jmarolf/events{/privacy}","received_events_url":"https://api.github.com/users/jmarolf/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/3","html_url":"https://github.com/dotnet/roslyn/milestones/1.1","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/3/labels","id":937401,"number":3,"title":"1.1","description":"This is our 1.1 Milestone.\r\n\r\n<!---\r\n@huboard:{\"order\":1.5}\r\n-->\r\n","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","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":28,"closed_issues":763,"state":"open","created_at":"2015-01-15T20:48:41Z","updated_at":"2015-11-11T18:05:56Z","due_on":null,"closed_at":null},"comments":24,"created_at":"2015-08-06T22:46:08Z","updated_at":"2015-11-11T21:53:44Z","closed_at":"2015-09-15T13:09:01Z","body":"Both my colleague and I have had this message appear in Visual Studio 2015 randomly several times recently:\r\n\r\nvisualbasicaddimportcodefixprovider encountered an error and has been disabled...\r\n\r\n![image](https://cloud.githubusercontent.com/assets/13561008/9125116/6cebfa24-3cf1-11e5-93ce-935f0a9a67c3.png)\r\n"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/155921492","html_url":"https://github.com/dotnet/roslyn/issues/4395#issuecomment-155921492","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/4395","id":155921492,"user":{"login":"jmarolf","id":9797472,"avatar_url":"https://avatars.githubusercontent.com/u/9797472?v=3","gravatar_id":"","url":"https://api.github.com/users/jmarolf","html_url":"https://github.com/jmarolf","followers_url":"https://api.github.com/users/jmarolf/followers","following_url":"https://api.github.com/users/jmarolf/following{/other_user}","gists_url":"https://api.github.com/users/jmarolf/gists{/gist_id}","starred_url":"https://api.github.com/users/jmarolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmarolf/subscriptions","organizations_url":"https://api.github.com/users/jmarolf/orgs","repos_url":"https://api.github.com/users/jmarolf/repos","events_url":"https://api.github.com/users/jmarolf/events{/privacy}","received_events_url":"https://api.github.com/users/jmarolf/received_events","type":"User","site_admin":false},"created_at":"2015-11-11T21:53:44Z","updated_at":"2015-11-11T21:53:44Z","body":"@BlackMael Looks like the exact callstack that @PFCKrutonium reported, which gives me confidence Update 1 should fix your problem.\r\n```\r\n    Unable to cast object of type \"Microsoft.CodeAnalysis.VisualBasic.Syntax.AssignmentStatementSyntax\" to type \"Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax\".   \r\n    at Microsoft.CodeAnalysis.VisualBasic.VisualBasicSyntaxFactsService.GetExpressionOfMemberAccessExpression(SyntaxNode node)   \r\n    at Microsoft.CodeAnalysis.VisualBasic.CodeFixes.AddImport.VisualBasicAddImportCodeFixProvider.IsViableExtensionMethod(IMethodSymbol method, SyntaxNode expression, SemanticModel semanticModel, ISyntaxFactsService syntaxFacts, CancellationToken cancellationToken)   \r\n    at Microsoft.CodeAnalysis.CodeFixes.AddImport.AbstractAddImportCodeFixProvider.<>c__DisplayClass26_0.<FilterForExtensionMethods>b__0(IMethodSymbol method)   \r\n    at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()   \r\n    at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)   \r\n    at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)   \r\n    at Microsoft.CodeAnalysis.CodeFixes.AddImport.AbstractAddImportCodeFixProvider.FilterForExtensionMethods(SemanticModel semanticModel, ISet`1 namespacesInScope, ISyntaxFactsService syntaxFacts, SyntaxNode expression, IEnumerable`1 symbols, CancellationToken cancellationToken)   \r\n    at Microsoft.CodeAnalysis.CodeFixes.AddImport.AbstractAddImportCodeFixProvider.<GetNamespacesForMatchingExtensionMethodsAsync>d__21.MoveNext()--- End of stack trace from previous location where exception was thrown ---   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   \r\n    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   \r\n    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)   \r\n    at Microsoft.CodeAnalysis.CodeFixes.AddImport.AbstractAddImportCodeFixProvider.<RegisterCodeFixesAsync>d__16.MoveNext()--- End of stack trace from previous location where exception was thrown ---   \r\n    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   \r\n    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   \r\n    at Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.<PerformActionAsync>d__2.MoveNext()\r\n```"}}