2 writes to _array
PresentationFramework (2)
System\Windows\Controls\ScrollViewer.cs (2)
2132
_array
= new Command[_capacity];
2190
_array
= null; // make GC work. Hopefully the whole queue is processed in Gen0
8 references to _array
PresentationFramework (8)
System\Windows\Controls\ScrollViewer.cs (8)
2146
_array
[_lastWritePosition] = command;
2159
&&
_array
[_lastWritePosition].Code == Commands.SetHorizontalOffset)
2161
&&
_array
[_lastWritePosition].Code == Commands.SetVerticalOffset)
2163
&&
_array
[_lastWritePosition].Code == Commands.MakeVisible))
2167
_array
[_lastWritePosition].Param = command.Param;
2168
_array
[_lastWritePosition].MakeVisibleParam = command.MakeVisibleParam;
2185
Command command =
_array
[_lastReadPosition];
2186
_array
[_lastReadPosition].MakeVisibleParam = null; //to release the allocated object