14 references to Remove
System.Windows.Forms (3)
System\Windows\Forms\DataBinding\BindingContext.cs (1)
350oldManager?.Bindings.Remove(binding);
System\Windows\Forms\DataBinding\BindingsCollection.cs (1)
109protected internal void RemoveAt(int index) => Remove(this[index]);
System\Windows\Forms\DataBinding\ControlBindingsCollection.cs (1)
231public new void Remove(Binding binding) => base.Remove(binding);
System.Windows.Forms.Tests (11)
System\Windows\Forms\BindingManagerBaseTests.cs (4)
94collection.Remove(binding); 107Assert.Throws<ArgumentNullException>("dataBinding", () => collection.Remove(null)); 120Assert.Throws<ArgumentException>("dataBinding", () => collection.Remove(binding2)); 136Assert.Throws<ArgumentException>("dataBinding", () => collection2.Remove(binding1));
System\Windows\Forms\BindingsCollectionTests.cs (7)
297collection.Remove(binding); 329collection.Remove(binding); 341collection.Remove(binding); 351collection.Remove(binding); 364collection.Remove(null); 376collection.Remove(binding2); 390collection2.Remove(binding1);