8 references to s_placeholderHost
System.Windows.Forms.Design.Tests (8)
System\ComponentModel\Design\DesignerHostTests.cs (8)
2439yield return new object[] { new ActiveDesignerEventArgs(s_placeholderHost, s_placeholderHost), 0, 1, 1 }; 2440yield return new object[] { new ActiveDesignerEventArgs(s_placeholderHost, otherHost), 0, 1, 1 }; 2441yield return new object[] { new ActiveDesignerEventArgs(s_placeholderHost, null), 0, 1, 1 }; 2443yield return new object[] { new ActiveDesignerEventArgs(otherHost, s_placeholderHost), 1, 0, 0 }; 2447yield return new object[] { new ActiveDesignerEventArgs(null, s_placeholderHost), 1, 0, 0 }; 2503IDesignerHost newDesigner = eventArgs.NewDesigner == s_placeholderHost ? host : eventArgs.NewDesigner; 2504IDesignerHost oldDesigner = eventArgs.OldDesigner == s_placeholderHost ? host : eventArgs.OldDesigner;