Skip to content

ArgumentException adding to PropertyBag when handling an event #205

Closed
@AmadeusW

Description

Hi, this is Amadeus from the Visual Studio Editor team.
We've received reports of 20 hits of ArgumentException in the Codist extension affecting VS 2022.

We're unable to peek into the call stack from Codist code, but from what we can see, it seems that

  • when you're handling an event
  • you're attempting to add to a property bag which already contains that key.
mscorlib.ni!System.Collections.Hashtable.Insert
Microsoft.VisualStudio.CoreUtility.ni!Microsoft.VisualStudio.Utilities.PropertyCollection.AddProperty
Codist!Unknown
Codist!Unknown
Codist!Unknown
PresentationCore.ni!System.Windows.EventRoute.InvokeHandlersImpl
PresentationCore.ni!System.Windows.UIElement.RaiseEventImpl

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions