8 references to new
System.Windows.Forms (2)
System\Windows\Forms\GiveFeedbackEventArgs.cs (1)
17: this(effect, useDefaultCursors, dragImage: default!, cursorOffset: default, useDefaultDragImage: false)
System\Windows\Forms\OLE\DropSource.cs (1)
27_lastGiveFeedbackEventArgs = new(DragDropEffects.None, useDefaultCursors: false, dragImage, cursorOffset, useDefaultDragImage);
System.Windows.Forms.Tests (6)
System\Windows\Forms\DragDropHelperTests.cs (3)
25yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new Bitmap(1, 1), new Point(0, 0), false) }; 26yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, null, new Point(0, 0), false) }; 27yield return new object[] { new DataObject(), new GiveFeedbackEventArgs(DragDropEffects.All, false, new Bitmap(1, 1), new Point(0, 0), true) };
System\Windows\Forms\GiveFeedbackEventArgsTests.cs (3)
25GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false) 42GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(2, 2), new Point(0, 0), false) 72GiveFeedbackEventArgs e = new(DragDropEffects.None, false, new Bitmap(1, 1), new Point(0, 0), false)