1 write to Value
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\RootContext.cs (1)
23Value = value.OrThrowIfNull();
17 references to Value
System.Windows.Forms.Design (15)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (1)
326if (manager.TryGetContext(out RootContext? root) && root.Value == value)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (9)
342if (manager.TryGetContext(out RootContext? root) && root.Value == value) 486bool isRoot = rootExp is null || rootExp.Value == eventAttachObject; 530if (manager.TryGetContext(out RootContext? root) && root.Value == lhs) 678result = rootExp.Value; 787if (rootExp is not null && rootExp.Value == target) 947result = rootExp?.Value; 1216bool isRoot = rootExp is null || rootExp.Value == eventAttachObject; 1672if (manager.TryGetContext(out RootContext? rootEx) && ReferenceEquals(rootEx.Value, value)) 2452if (root.Value == value)
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (1)
118if (rootContext is not null && rootContext.Value == tree.Owner)
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
290string? baseType = manager.GetName(rootCtx.Value);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (1)
76object comp = rootCtx.Value;
System\ComponentModel\Design\Serialization\ResourcePropertyMemberCodeDomSerializer.cs (1)
53object comp = rootCtx.Value;
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
247value = rootCtx.Value;
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\Serialization\RootContextTests.cs (1)
17Assert.Same(value, context.Value);
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (1)
35MemberDescriptor member2 = properties[nameof(RootContext.Value)];