mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.85k stars 1.02k forks source link

[Debugger] Fix InvalidCastException in MacObjectValueTreeView.OnCopy() #9584

Closed jstedfast closed 4 years ago

jstedfast commented 4 years ago

Based on "Find References" on GetRawValue(), it seems that this can sometimes return RawValueString instead of string. Make sure that we handle this instead of assuming the value returned by GetRawValue() is always a string.

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1054038/

jstedfast commented 4 years ago

@monojenkins backport release-8.4

mrward commented 4 years ago

Compat check failure is not related to this change.