{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/7922","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/7922/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/7922/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/7922/events","html_url":"https://github.com/dotnet/roslyn/issues/7922","id":126322672,"number":7922,"title":"InvalidOperationException while adding annotations","user":{"login":"amcasey","id":10508071,"avatar_url":"https://avatars.githubusercontent.com/u/10508071?v=3","gravatar_id":"","url":"https://api.github.com/users/amcasey","html_url":"https://github.com/amcasey","followers_url":"https://api.github.com/users/amcasey/followers","following_url":"https://api.github.com/users/amcasey/following{/other_user}","gists_url":"https://api.github.com/users/amcasey/gists{/gist_id}","starred_url":"https://api.github.com/users/amcasey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amcasey/subscriptions","organizations_url":"https://api.github.com/users/amcasey/orgs","repos_url":"https://api.github.com/users/amcasey/repos","events_url":"https://api.github.com/users/amcasey/events{/privacy}","received_events_url":"https://api.github.com/users/amcasey/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Compilers","name":"Area-Compilers","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-13T02:04:56Z","updated_at":"2016-01-14T17:21:18Z","closed_at":null,"body":"```\r\nVoid VerifyIntegrity()\r\nVoid Add(TKey, TValue)\r\nVoid .ctor(UInt16, Microsoft.CodeAnalysis.DiagnosticInfo[], Microsoft.CodeAnalysis.SyntaxAnnotation[])\r\nMicrosoft.CodeAnalysis.GreenNode SetAnnotations(Microsoft.CodeAnalysis.SyntaxAnnotation[])\r\nTNode WithAdditionalAnnotationsGreen[TNode](TNode, System.Collections.Generic.IEnumerable`1[Microsoft.CodeAnalysis.SyntaxAnnotation])\r\nTNode WithAdditionalAnnotations[TNode](TNode, Microsoft.CodeAnalysis.SyntaxAnnotation[])\r\nVoid EnsureReplacedExpressionAndSemanticRoot()\r\nVoid EnsureSpeculativeSemanticModel()\r\nBoolean SymbolsForOriginalAndReplacedNodesAreCompatible()\r\nBoolean CanReplaceWithReducedName(Microsoft.CodeAnalysis.CSharp.Syntax.MemberAccessExpressionSyntax, Microsoft.CodeAnalysis.CSharp.Syntax.ExpressionSyntax, Microsoft.CodeAnalysis.SemanticModel, System.Threading.CancellationToken)\r\nBoolean TryReduce(Microsoft.CodeAnalysis.CSharp.Syntax.MemberAccessExpressionSyntax, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax ByRef, Microso...\r\n```\r\n```\r\nVoid VerifyIntegrity()\r\nVoid Add(TKey, TValue)\r\nVoid .ctor(UInt16, Microsoft.CodeAnalysis.DiagnosticInfo[], Microsoft.CodeAnalysis.SyntaxAnnotation[])\r\nMicrosoft.CodeAnalysis.GreenNode SetAnnotations(Microsoft.CodeAnalysis.SyntaxAnnotation[])\r\nTNode WithAdditionalAnnotationsGreen[TNode](TNode, System.Collections.Generic.IEnumerable`1[Microsoft.CodeAnalysis.SyntaxAnnotation])\r\nTNode WithAdditionalAnnotations[TNode](TNode, Microsoft.CodeAnalysis.SyntaxAnnotation[])\r\nVoid EnsureReplacedExpressionAndSemanticRoot()\r\nBoolean ReplacementChangesSemantics()\r\nBoolean CanReplaceWithReducedName(Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax, Microsoft.CodeAnalysis.SemanticModel, System.Threading.CancellationToken)\r\nBoolean TryReduce(Microsoft.CodeAnalysis.CSharp.Syntax.NameSyntax, Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax ByRef, Microsoft.CodeAnalysis.Text.TextSpan ByRef, Microsoft.CodeAnalysis.Options.OptionSet, System.Threading.Canc...\r\n```\r\n```\r\nVoid VerifyIntegrity()\r\nVoid Add(TKey, TValue)\r\nVoid .ctor(UInt16, Microsoft.CodeAnalysis.DiagnosticInfo[], Microsoft.CodeAnalysis.SyntaxAnnotation[])\r\nMicrosoft.CodeAnalysis.GreenNode SetAnnotations(Microsoft.CodeAnalysis.SyntaxAnnotation[])\r\nTNode WithAdditionalAnnotationsGreen[TNode](TNode, System.Collections.Generic.IEnumerable`1[Microsoft.CodeAnalysis.SyntaxAnnotation])\r\nTNode WithAdditionalAnnotations[TNode](TNode, Microsoft.CodeAnalysis.SyntaxAnnotation[])\r\nVoid EnsureReplacedExpressionAndSemanticRoot()\r\nBoolean ReplacementChangesSemantics()\r\nBoolean IsUnnecessaryCast(Microsoft.CodeAnalysis.CSharp.Syntax.CastExpressionSyntax, Microsoft.CodeAnalysis.SemanticModel, System.Threading.CancellationToken)\r\nBoolean IsUnnecessaryCast(Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.SyntaxNode, System.Threading.CancellationToken)\r\nBoolean TryRemoveCastExpression(Microsoft.CodeAnalysis.SemanticModel, Microsoft.CodeAnalysis.SyntaxNode, Microsoft.CodeAnalysis.Diagnostic ByRef, System.Threading.CancellationToke...\r\n```"},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/171712312","html_url":"https://github.com/dotnet/roslyn/issues/7922#issuecomment-171712312","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/7922","id":171712312,"user":{"login":"Pilchie","id":312835,"avatar_url":"https://avatars.githubusercontent.com/u/312835?v=3","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},"created_at":"2016-01-14T17:21:18Z","updated_at":"2016-01-14T17:21:18Z","body":"This looks like `ConditionalWeakTable.VerifyIntegrity`.  @davkean is looking at the source for it now."}}