1 write to Expression
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\RootContext.cs (1)
22
Expression
= expression.OrThrowIfNull();
12 references to Expression
System.Windows.Forms.Design (9)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (1)
320
expression = root.
Expression
;
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (4)
1674
expression = rootEx.
Expression
;
2454
expression = root.
Expression
;
2463
expression = new CodePropertyReferenceExpression(new CodeFieldReferenceExpression(root.
Expression
, name[..dotIndex]), name[(dotIndex + 1)..]);
2467
expression = new CodeFieldReferenceExpression(root.
Expression
, name);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
235
assignLhs = new CodeFieldReferenceExpression(rootCtx!.
Expression
, name);
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
57
lhs = new CodeFieldReferenceExpression(rootCtx.
Expression
, ContainerName);
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
126
_nameTable[declaration.Name] = rootCtx.
Expression
;
245
else if (manager.TryGetContext(out RootContext? rootCtx) && codeObject is CodeExpression exp && rootCtx.
Expression
== exp)
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\Serialization\RootContextTests.cs (1)
16
Assert.Same(expression, context.
Expression
);
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (2)
20
yield return new object[] { properties[nameof(RootContext.
Expression
)] };
34
MemberDescriptor member1 = properties[nameof(RootContext.
Expression
)];