5 instantiations of State
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.cs (3)
1894return new State(ms, _storageType, this); 1915return new State(propBag); 2763_ocxState = new State(this);
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
31return new State(ms);
System.Windows.Forms.Tests (1)
SerializableTypesTests.cs (1)
33state = new AxHost.State(stream, 1, true, licenseKey);
18 references to State
System.Windows.Forms (7)
System\Windows\Forms\ActiveX\AxHost.cs (5)
122private State? _ocxState; 1807/// <see cref="State"/> object. If the control has been modified since it was last saved to a persisted 1819public State? OcxState 1862private State? CreateNewOcxState(State? oldOcxState)
System\Windows\Forms\ActiveX\AxHost.State.cs (1)
255internal unsafe State? RefreshStorage(IPersistStorage* iPersistStorage)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
49if (value is not State state)
System.Windows.Forms.Design.Tests (5)
System\Resources\Tools\StronglyTypedResourceBuilderTests.cs (5)
605TypeConverter converter = TypeDescriptor.GetConverter(typeof(AxHost.State)); 607using var scope = CustomConverter.RegisterConverter(typeof(AxHost.State), new AxHost.StateConverter()); 608converter = TypeDescriptor.GetConverter(typeof(AxHost.State)); 639AxHost.State state = Assert.IsType<AxHost.State>(converter.ConvertFrom(resourceByte));
System.Windows.Forms.Tests (5)
SerializableAttributeTests.cs (1)
21{ typeof(AxHost.State).FullName },
SerializableTypesTests.cs (3)
23AxHost.State state; 44AxHost.State result = BinarySerialization.EnsureDeserialize<AxHost.State>(blob);
System\Resources\ResXResourceReaderTests.cs (1)
31Assert.Equal(typeof(AxHost.State), value.GetType());
WinFormsControlsTest (1)
MediaPlayer.Designer.cs (1)
47this.axWindowsMediaPlayer1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axWindowsMediaPlayer1.OcxState")));