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