2 writes to _host
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignSurface.cs (2)
45_host = new DesignerHost(this); 365_host = null!;
14 references to _host
System.Windows.Forms.Design (14)
System\ComponentModel\Design\DesignSurface.cs (14)
75ObjectDisposedException.ThrowIf(_host is null, this); 76return ((IDesignerHost)_host).Container; 128ObjectDisposedException.ThrowIf(_host is null, this); 130IComponent? rootComponent = ((IDesignerHost)_host).RootComponent; 156if (((IDesignerHost)_host).GetDesigner(rootComponent) is not IRootDesigner rootDesigner) 226ObjectDisposedException.ThrowIf(_host is null, this); 230_host.BeginLoad(loader); 241ObjectDisposedException.ThrowIf(_host is null, this); 260ObjectDisposedException.ThrowIf(_host is null, this); 319ObjectDisposedException.ThrowIf(_host is null, this); 321return new SiteNestedContainer(owningComponent, containerName, _host); 352_host?.DisposeHost(); 376_host?.Flush(); 443IComponent? rootComponent = ((IDesignerHost)_host).RootComponent;