38 references to new
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
1352
BindingMemberInfo displayBindingMember =
new
(displayMember);
1383
BindingMemberInfo valueBindingMember =
new
(valueMember);
System\Windows\Forms\Controls\ListControl\ListControl.cs (3)
117
SetDataConnection(_dataSource, new
BindingMemberInfo
(value), force: false);
305
BindingMemberInfo newValueMember =
new
(value);
663
SetDataConnection(null, new
BindingMemberInfo
(string.Empty), true);
System\Windows\Forms\DataBinding\Binding.cs (1)
149
BindingMemberInfo = new
BindingMemberInfo
(dataMember);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DataGridViewComboBoxColumnDesigner.cs (1)
82
BindingMemberInfo bindingMemberInfo =
new
(dataMember);
System.Windows.Forms.Tests (31)
System\Windows\Forms\BindingMemberInfoTests.cs (25)
29
BindingMemberInfo info =
new
(dataMember);
37
yield return new object[] { new
BindingMemberInfo
("Some.Other"), new
BindingMemberInfo
("Some.Other"), true };
38
yield return new object[] { new
BindingMemberInfo
("Some.Other"), new
BindingMemberInfo
("some.other"), true };
39
yield return new object[] { new
BindingMemberInfo
("Some.Other"), new
BindingMemberInfo
("Some2.Other"), false };
40
yield return new object[] { new
BindingMemberInfo
("Some.Other"), new
BindingMemberInfo
("Some.Other2"), false };
41
yield return new object[] { new
BindingMemberInfo
("Some.Other"), new
BindingMemberInfo
("Some"), false };
42
yield return new object[] { new
BindingMemberInfo
("Some.Other"), default(BindingMemberInfo), false };
44
yield return new object[] { new
BindingMemberInfo
("Some"), new
BindingMemberInfo
("Some"), true };
45
yield return new object[] { new
BindingMemberInfo
("Some"), new
BindingMemberInfo
("Some2"), false };
46
yield return new object[] { new
BindingMemberInfo
("Some"), new
BindingMemberInfo
("Some.Other"), false };
47
yield return new object[] { new
BindingMemberInfo
("Some.Other"), default(BindingMemberInfo), false };
50
yield return new object[] { default(BindingMemberInfo), new
BindingMemberInfo
(""), true };
51
yield return new object[] { default(BindingMemberInfo), new
BindingMemberInfo
("Some.Other"), false };
53
yield return new object[] { new
BindingMemberInfo
("Some.Other"), new(), false };
54
yield return new object[] { new
BindingMemberInfo
("Some.Other"), null, false };
73
yield return new object[] { new
BindingMemberInfo
("Some") };
74
yield return new object[] { new
BindingMemberInfo
("Some.Other") };
System\Windows\Forms\BindingTests.cs (6)
27
Assert.Equal(new
BindingMemberInfo
(dataMember), binding.BindingMemberInfo);
56
Assert.Equal(new
BindingMemberInfo
(dataMember), binding.BindingMemberInfo);
85
Assert.Equal(new
BindingMemberInfo
(dataMember), binding.BindingMemberInfo);
114
Assert.Equal(new
BindingMemberInfo
(dataMember), binding.BindingMemberInfo);
143
Assert.Equal(new
BindingMemberInfo
(dataMember), binding.BindingMemberInfo);
172
Assert.Equal(new
BindingMemberInfo
(dataMember), binding.BindingMemberInfo);