Infinite sweep in Visual Studio?

I came across this for many years and just wrote it down to VS oddity, but I'm curious if anyone has any explanations.

In my example below, I use the β€œdrill” mouse in an exception to look at some values. I noticed that if I enter the Data section (it will almost disappear in the screenshot below, sorry), I can go down the endless chain Values->NodeKeyValueCollection->Non-Public Members->List , and then return to Values . I went through more than 30 levels in this recess, without end.

Is there something in the Exception object that happens like this, or is it a strange feature of drag and drop?

Screenshot:

enter image description here

+4
source share
1 answer

This means that the list object has an internal member that refers to itself. When you debug it, it gives you the possibility of infinite recursion.

+7
source

Source: https://habr.com/ru/post/1343067/


All Articles