129 references to new
System.Windows.Forms (3)
System\Windows\Forms\Accessibility\AccessibleObject.cs (2)
97private static readonly AccessibleObject s_parentFlag = new(); 133: this()
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
21public DataGridViewTopRowAccessibleObject(DataGridView owner) : base()
System.Windows.Forms.Interop.Tests (80)
AccessibleObjectTests.cs (80)
18AccessibleObject o = new(); 25AccessibleObject o = new(); 34AccessibleObject o = new(); 46AccessibleObject o = new(); 53AccessibleObject o = new(); 60AccessibleObject o = new(); 67AccessibleObject o = new(); 83AccessibleObject o = new(); 99AccessibleObject o = new(); 115AccessibleObject o = new(); 122AccessibleObject o = new(); 129AccessibleObject o = new(); 136AccessibleObject o = new(); 143AccessibleObject o = new(); 150AccessibleObject o = new(); 163AccessibleObject o = new(); 170AccessibleObject o = new(); 177AccessibleObject o = new(); 184AccessibleObject o = new(); 193AccessibleObject o = new(); 208AccessibleObject o = new(); 215AccessibleObject o = new(); 226AccessibleObject o = new(); 233AccessibleObject o = new(); 240AccessibleObject o = new(); 247AccessibleObject o = new(); 254AccessibleObject o = new(); 267AccessibleObject o = new(); 274AccessibleObject o = new(); 281AccessibleObject o = new(); 289AccessibleObject o = new(); 296AccessibleObject o = new(); 304AccessibleObject o = new(); 311AccessibleObject o = new(); 318AccessibleObject o = new(); 325AccessibleObject o = new(); 332AccessibleObject o = new(); 339AccessibleObject o = new(); 346AccessibleObject o = new(); 353AccessibleObject o = new(); 360AccessibleObject o = new(); 367AccessibleObject o = new(); 381AccessibleObject o = new(); 388AccessibleObject o = new(); 395AccessibleObject o = new(); 402AccessibleObject o = new(); 409AccessibleObject o = new(); 416AccessibleObject o = new(); 423AccessibleObject o = new(); 430AccessibleObject o = new(); 437AccessibleObject o = new(); 469AccessibleObject o = new(); 480ParentResult = new AccessibleObject() 501AccessibleObject o = new(); 510ParentResult = new AccessibleObject() 532AccessibleObject o = new(); 539AccessibleObject o = new(); 546AccessibleObject o = new(); 553AccessibleObject o = new(); 560AccessibleObject o = new(); 567AccessibleObject o = new(); 574AccessibleObject o = new(); 581AccessibleObject o = new(); 588AccessibleObject o = new(); 595AccessibleObject o = new(); 602AccessibleObject o = new(); 609AccessibleObject o = new(); 622AccessibleObject o = new(); 637AccessibleObject o = new(); 644AccessibleObject o = new(); 651AccessibleObject o = new(); 658AccessibleObject o = new(); 665AccessibleObject o = new(); 672AccessibleObject o = new(); 679AccessibleObject o = new(); 686AccessibleObject o = new(); 693AccessibleObject o = new(); 700AccessibleObject o = new(); 709AccessibleObject o = new(); 741AccessibleObject accessible = new();
System.Windows.Forms.Tests (46)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (37)
20AccessibleObject accessibleObject = new(); 37AccessibleObject accessibleObject = new() 52AccessibleObject accessibleObject = new() 66AccessibleObject accessibleObject = new(); 76AccessibleObject accessibleObject = new(); 83AccessibleObject accessibleObject = new(); 90AccessibleObject accessibleObject = new(); 137.Returns(new AccessibleObject()); 191AccessibleObject accessibleObject = new(); 199AccessibleObject accessibleObject = new(); 246.Returns(new AccessibleObject()); 303AccessibleObject accessibleObject = new(); 361.Returns(new AccessibleObject()); 414AccessibleObject accessibleObject = new(); 421yield return new object[] { 0, new AccessibleObject() }; 423yield return new object[] { 1, new AccessibleObject() }; 425yield return new object[] { 2, new AccessibleObject() }; 536AccessibleObject accessibleObject = new(); 915yield return new object[] { new AccessibleObject() }; 951AccessibleObject accessibleObject = new(); 1012.Returns(new AccessibleObject()); 1268yield return new object[] { new AccessibleObject() }; 1380yield return new object[] { new AccessibleObject() }; 1414AccessibleObject accessibleObject = new(); 2440AccessibleObject accessibleObject = new(); 2456AccessibleObject childAccessibleObject1 = new(); 2457AccessibleObject childAccessibleObject2 = new(); 2492AccessibleObject childAccessibleObject1 = new(); 2493AccessibleObject childAccessibleObject2 = new(); 2534AccessibleObject accessibleObject = new(); 2550AccessibleObject childAccessibleObject1 = new(); 2551AccessibleObject childAccessibleObject2 = new(); 2583AccessibleObject childAccessibleObject1 = new(); 2584AccessibleObject childAccessibleObject2 = new(); 2686AccessibleObject accessibleObject = new(); 2725AccessibleObject accessibleObject = new(); 2743AccessibleObject accessibleObject = new();
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
914AccessibleObject accessibleObject = new();
System\Windows\Forms\AccessibleObjects\ListVIew.ListViewAccessibleObjectTests.cs (4)
701Assert.Equal(-1, accessibleObject.GetChildIndex(new AccessibleObject())); 783Assert.Equal(-1, accessibleObject.GetChildIndex(new AccessibleObject())); 835Assert.Equal(-1, accessibleObject.GetChildIndex(new AccessibleObject())); 1624listView.Groups[1].TestAccessor().Dynamic._accessibilityObject = new AccessibleObject();
System\Windows\Forms\ControlTests.Properties.cs (1)
57AccessibleObject accessibleObject = new();
System\Windows\Forms\DataGridViewCellTests.cs (1)
3426yield return new object[] { new AccessibleObject() };
System\Windows\Forms\ToolStripItemTests.cs (2)
285yield return new object[] { new AccessibleObject() }; 14273yield return new object[] { new AccessibleObject() };