1 instantiation of CodeDomComponentSerializationState
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
640objectState[data._name] = new CodeDomComponentSerializationState(code, ctxStatements, defaultPropList, resources, defaultEventList, modifier);
29 references to CodeDomComponentSerializationState
System.Windows.Forms.Design (9)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (7)
21private Dictionary<string, CodeDomComponentSerializationState>? _objectState; // only used during deserialization 68internal void Deserialize(IDesignerSerializationManager manager, Dictionary<string, CodeDomComponentSerializationState> objectState, List<string> objectNames, bool applyDefaults) 75if (objectState.TryGetValue(name, out CodeDomComponentSerializationState? state)) 342if (_objectState!.Remove(name, out CodeDomComponentSerializationState? state)) 387if (resolved && _objectState!.TryGetValue(name, out CodeDomComponentSerializationState? state)) 403private void DeserializeState(IDesignerSerializationManager manager, string name, CodeDomComponentSerializationState state) 490internal void Serialize(IDesignerSerializationManager manager, Dictionary<object, ObjectData> objectData, Dictionary<string, CodeDomComponentSerializationState> objectState, IList shimObjectNames)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (2)
45private Dictionary<string, CodeDomComponentSerializationState>? _objectState; 136Dictionary<string, CodeDomComponentSerializationState> state = new(_objects.Count);
System.Windows.Forms.Design.Tests (20)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (20)
59return Assert.IsType<Dictionary<string, CodeDomComponentSerializationState>>(info.GetValue("State", typeof(Dictionary<string, CodeDomComponentSerializationState>))); 64Assert.Null(info.GetValue("State", typeof(Dictionary<string, CodeDomComponentSerializationState>))); 142Dictionary<string, CodeDomComponentSerializationState> state = GetState(info); 144CodeDomComponentSerializationState valueState1 = state["name1"]; 158CodeDomComponentSerializationState valueState2 = state["name2"]; 245Dictionary<string, CodeDomComponentSerializationState> state = GetState(info); 246CodeDomComponentSerializationState valueState = state["name"]; 347Dictionary<string, CodeDomComponentSerializationState> state = GetState(info); 348CodeDomComponentSerializationState valueState = state["name"]; 392Dictionary<string, CodeDomComponentSerializationState> state = GetState(info); 393CodeDomComponentSerializationState valueState = state["name"]; 443Dictionary<string, CodeDomComponentSerializationState> state = GetState(info); 444CodeDomComponentSerializationState valueState = state["name"]; 489Dictionary<string, CodeDomComponentSerializationState> state = GetState(info); 490CodeDomComponentSerializationState valueState = state["name"]; 533Dictionary<string, CodeDomComponentSerializationState> state = GetState(info); 534CodeDomComponentSerializationState valueState = state["name"]; 582Dictionary<string, CodeDomComponentSerializationState> state = GetState(info); 583CodeDomComponentSerializationState valueState = state["name"];