3 writes to BindingManagerBase
System.Windows.Forms (3)
System\Windows\Forms\DataBinding\ListManagerBindingsCollection.cs (3)
40dataBinding.BindingManagerBase = _bindingManagerBase; 49this[i].BindingManagerBase = null; 64dataBinding.BindingManagerBase = null;
34 references to BindingManagerBase
System.Windows.Forms (6)
System\Windows\Forms\DataBinding\BindingContext.cs (3)
310else if (propBinding.BindingManagerBase is PropertyManager) 349BindingManagerBase? oldManager = binding.BindingManagerBase; 356if (binding.BindingManagerBase is PropertyManager)
System\Windows\Forms\DataBinding\ListManagerBindingsCollection.cs (3)
30if (dataBinding.BindingManagerBase == _bindingManagerBase) 35if (dataBinding.BindingManagerBase is not null) 59if (dataBinding.BindingManagerBase != _bindingManagerBase)
System.Windows.Forms.Tests (28)
System\Windows\Forms\BindingContextTests.cs (15)
808Assert.Same(manager, binding.BindingManagerBase); 827Assert.Same(manager, binding.BindingManagerBase); 845Assert.Same(manager, binding.BindingManagerBase); 865Assert.Same(manager, binding.BindingManagerBase); 896Assert.Same(manager2, binding.BindingManagerBase); 929Assert.Same(manager2, binding.BindingManagerBase); 941Assert.Null(binding.BindingManagerBase); 946Assert.NotNull(binding.BindingManagerBase); 956Assert.Null(binding.BindingManagerBase); 967BindingManagerBase oldManager = binding.BindingManagerBase; 973Assert.Null(binding.BindingManagerBase); 976Assert.NotNull(binding.BindingManagerBase); 995BindingManagerBase oldManager = binding.BindingManagerBase; 1001Assert.Null(binding.BindingManagerBase); 1004Assert.NotNull(binding.BindingManagerBase);
System\Windows\Forms\BindingManagerBaseTests.cs (7)
26Assert.Same(manager, binding.BindingManagerBase); 70Assert.Same(manager, binding.BindingManagerBase); 74Assert.Null(binding.BindingManagerBase); 90Assert.Same(manager, binding.BindingManagerBase); 94Assert.Null(binding.BindingManagerBase); 148Assert.Same(manager, binding.BindingManagerBase); 152Assert.Null(binding.BindingManagerBase);
System\Windows\Forms\BindingTests.cs (6)
26Assert.Null(binding.BindingManagerBase); 55Assert.Null(binding.BindingManagerBase); 84Assert.Null(binding.BindingManagerBase); 113Assert.Null(binding.BindingManagerBase); 142Assert.Null(binding.BindingManagerBase); 171Assert.Null(binding.BindingManagerBase);