2 writes to _galleryCount
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (2)
547HasGallery = (++_galleryCount > 0); 569HasGallery = (--_galleryCount > 0);