1 write to Expression
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\RootContext.cs (1)
22Expression = expression.OrThrowIfNull();
12 references to Expression
System.Windows.Forms.Design (9)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (1)
328return root.Expression;
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (4)
1674expression = rootEx.Expression; 2454expression = root.Expression; 2463expression = new CodePropertyReferenceExpression(new CodeFieldReferenceExpression(root.Expression, name[..dotIndex]), name[(dotIndex + 1)..]); 2467expression = new CodeFieldReferenceExpression(root.Expression, name);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
235assignLhs = new CodeFieldReferenceExpression(rootCtx!.Expression, name);
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
57lhs = new CodeFieldReferenceExpression(rootCtx.Expression, ContainerName);
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
126_nameTable[declaration.Name] = rootCtx.Expression; 245else 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)
16Assert.Same(expression, context.Expression);
System\ComponentModel\Design\Serialization\SerializeAbsoluteContextTests.cs (2)
20yield return new object[] { properties[nameof(RootContext.Expression)] }; 34MemberDescriptor member1 = properties[nameof(RootContext.Expression)];