2 writes to _components
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (2)
275_components = null; 440_components = new Dictionary<int, UnsafeNativeMethods.IMsoComponent>();
31 references to _components
System.Windows.Forms (31)
winforms\Managed\System\WinForms\ComponentManagerBroker.cs (31)
323if (_components != null) { 324foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 331if (_components != null) { 332foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 345if (_components != null) { 346foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 355if (_components != null) { 356foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 369_components.Clear(); 374if (_components != null) { 375foreach (UnsafeNativeMethods.IMsoComponent c in _components.Values) { 388if (_components != null && _components.Values.Count>0) { 389UnsafeNativeMethods.IMsoComponent[] components = new UnsafeNativeMethods.IMsoComponent[_components.Values.Count]; 390_components.Values.CopyTo(components, 0); 439if (_components == null) { 450while (_components.ContainsKey(_nextComponentId)) { 461_components.Add(_nextComponentId, component); 470if (_components == null || dwLocalComponentID <= 0 || !_components.ContainsKey(dwLocalComponentID)) { 481_components.Remove(dwLocalComponentID); 511if (_components == null || dwLocalComponentID <= 0 || !_components.ContainsKey(dwLocalComponentID)) { 519_activeComponent = _components[dwLocalComponentID]; 532if (_components == null || dwLocalComponentID <= 0 || !_components.ContainsKey(dwLocalComponentID)) { 541_trackingComponent = _components[dwLocalComponentID]; 555if (_components != null) { 556foreach (UnsafeNativeMethods.IMsoComponent comp in _components.Values) { 568if (_components != null) { 569foreach (UnsafeNativeMethods.IMsoComponent comp in _components.Values) {