5 references to Contains
System.Windows.Forms.Design (5)
System\ComponentModel\Design\ComponentDesigner.ShadowPropertyCollection.cs (1)
80if (Contains(propertyName))
System\Windows\Forms\Design\DocumentDesigner.cs (2)
1335return !_initializing && ShadowProperties.Contains(nameof(AutoScaleMode)); 1349if (!ShadowProperties.Contains(nameof(BackColor)) || ((Color)ShadowProperties[nameof(BackColor)]).IsEmpty)
System\Windows\Forms\Design\FormDocumentDesigner.cs (1)
89return !_initializing && ((Form)Component).AutoScale && ShadowProperties.Contains(nameof(AutoScaleBaseSize));
System\Windows\Forms\Design\ToolStripItemDesigner.cs (1)
1191private bool ShouldSerializeAutoSize() => (ShadowProperties.Contains(nameof(AutoSize)));