8 references to s_invalidSize
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemInternalLayout.ToolStripItemLayoutOptions.cs (3)
16private Size _cachedSize = LayoutUtils.s_invalidSize; 17private Size _cachedProposedConstraints = LayoutUtils.s_invalidSize; 22if (_cachedSize != LayoutUtils.s_invalidSize
System\Windows\Forms\Layout\CommonProperties.cs (2)
347element.Properties.AddValue(s_preferredSizeCacheProperty, LayoutUtils.s_invalidSize); 377if (element.Properties.TryGetValue(s_preferredSizeCacheProperty, out Size size) && (size != LayoutUtils.s_invalidSize))
System\Windows\Forms\Layout\LayoutUtils.MeasureTextCache.cs (3)
22private Size _unconstrainedPreferredSize = s_invalidSize; 90_unconstrainedPreferredSize = s_invalidSize; 110if (_unconstrainedPreferredSize == s_invalidSize)