1 write to _behavior
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ControlDesigner.TransparentBehaviorTests.cs (1)
21_behavior = new(_designer);
10 references to _behavior
System.Windows.Forms.Design.Tests (10)
System\Windows\Forms\Design\ControlDesigner.TransparentBehaviorTests.cs (10)
52_behavior.OnDragDrop(null, dragEventArgs); 54Rectangle controlRect = GetControlRect(_behavior); 63_behavior.OnDragEnter(null, dragEventArgs); 65Rectangle controlRect = GetControlRect(_behavior); 73_behavior.OnDragEnter(null, new DragEventArgs(null, 0, 0, 0, DragDropEffects.Copy, DragDropEffects.None)); 75_behavior.OnDragLeave(null, EventArgs.Empty); 77Rectangle controlRect = GetControlRect(_behavior); 84_behavior.OnDragEnter(null, new DragEventArgs(null, 0, 0, 0, DragDropEffects.Copy, DragDropEffects.None)); 87_behavior.OnDragOver(null, dragEventArgs); 97Exception? exception = Record.Exception(() => _behavior.OnGiveFeedback(null, feedbackEventArgs));