25 types derived from CodeExpression
System.CodeDom (25)
System\CodeDom\CodeArgumentReferenceExpression.cs (1)
6public class CodeArgumentReferenceExpression : CodeExpression
System\CodeDom\CodeArrayCreateExpression.cs (1)
6public class CodeArrayCreateExpression : CodeExpression
System\CodeDom\CodeArrayIndexerExpression.cs (1)
6public class CodeArrayIndexerExpression : CodeExpression
System\CodeDom\CodeBaseReferenceExpression.cs (1)
6public class CodeBaseReferenceExpression : CodeExpression
System\CodeDom\CodeBinaryOperatorExpression.cs (1)
6public class CodeBinaryOperatorExpression : CodeExpression
System\CodeDom\CodeCastExpression.cs (1)
6public class CodeCastExpression : CodeExpression
System\CodeDom\CodeDefaultValueExpression.cs (1)
6public class CodeDefaultValueExpression : CodeExpression
System\CodeDom\CodeDelegateCreateExpression.cs (1)
6public class CodeDelegateCreateExpression : CodeExpression
System\CodeDom\CodeDelegateInvokeExpression.cs (1)
6public class CodeDelegateInvokeExpression : CodeExpression
System\CodeDom\CodeDirectionExpression.cs (1)
6public class CodeDirectionExpression : CodeExpression
System\CodeDom\CodeEventReferenceExpression.cs (1)
6public class CodeEventReferenceExpression : CodeExpression
System\CodeDom\CodeFieldReferenceExpression.cs (1)
6public class CodeFieldReferenceExpression : CodeExpression
System\CodeDom\CodeIndexerExpression.cs (1)
6public class CodeIndexerExpression : CodeExpression
System\CodeDom\CodeMethodInvokeExpression.cs (1)
6public class CodeMethodInvokeExpression : CodeExpression
System\CodeDom\codemethodreferenceexpression.cs (1)
6public class CodeMethodReferenceExpression : CodeExpression
System\CodeDom\CodeObjectCreateExpression.cs (1)
6public class CodeObjectCreateExpression : CodeExpression
System\CodeDom\CodeParameterDeclarationExpression.cs (1)
6public class CodeParameterDeclarationExpression : CodeExpression
System\CodeDom\CodePrimitiveExpression.cs (1)
6public class CodePrimitiveExpression : CodeExpression
System\CodeDom\CodePropertyReferenceExpression.cs (1)
6public class CodePropertyReferenceExpression : CodeExpression
System\CodeDom\CodePropertySetValueReferenceExpression.cs (1)
6public class CodePropertySetValueReferenceExpression : CodeExpression
System\CodeDom\CodeSnippetExpression.cs (1)
6public class CodeSnippetExpression : CodeExpression
System\CodeDom\CodeThisReferenceExpression.cs (1)
6public class CodeThisReferenceExpression : CodeExpression
System\CodeDom\CodeTypeOfExpression.cs (1)
6public class CodeTypeOfExpression : CodeExpression
System\CodeDom\CodeTypeReferenceExpression.cs (1)
6public class CodeTypeReferenceExpression : CodeExpression
System\CodeDom\CodeVariableReferenceExpression.cs (1)
6public class CodeVariableReferenceExpression : CodeExpression
7 instantiations of CodeExpression
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\Serialization\ExpressionContextTests.cs (5)
12yield return new object[] { new CodeExpression(), typeof(int), new(), new() }; 13yield return new object[] { new CodeExpression(), typeof(int), new(), null }; 29yield return new object[] { new CodeExpression(), typeof(int), new() }; 52Assert.Throws<ArgumentNullException>("expressionType", () => new ExpressionContext(new CodeExpression(), null, new object(), new object())); 58Assert.Throws<ArgumentNullException>("owner", () => new ExpressionContext(new CodeExpression(), typeof(int), null, new object()));
System\ComponentModel\Design\Serialization\RootContextTests.cs (2)
13CodeExpression expression = new(); 29CodeExpression expression = new();
253 references to CodeExpression
Microsoft.Build.Tasks.Core (4)
WriteCodeFragment.cs (4)
402CodeExpression value; 532private bool TryConvertParameterValue(string typeName, string rawValue, out CodeExpression value) 562private CodeExpression ConvertParameterValueToInferredType(Type inferredType, string rawValue, string parameterName) 589private CodeExpression ConvertToCodeExpression(string value, Type targetType)
PresentationBuildTasks (17)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (17)
985CodeExpression[] esParams = {}; 1196CodeExpression ceEvent = cceTarget; 1787private CodeExpression GetPropertyValueExpression(ITypeDescriptorContext ctx, Type typeToConvertTo, Object value, string attributeValue) 1789CodeExpression ce = null; 1846CodeExpression[] expressions = new CodeExpression[args.Length]; 1858foreach (CodeExpression e in expressions) 1875foreach (CodeExpression e in expressions) 1927private CodeExpression GetEventDelegate(CodeContext cc, MemberInfo miEvent, string eventName, string eventHandler) 1943CodeExpression cDelExp = cdce; 1948CodeExpression[] delParams = { cdce }; 1968private CodeStatement AddCLREvent(CodeContext cc, CodeExpression ce, MarkupEventInfo mei) 1974private CodeStatement AddCLREvent(Type eventTarget, CodeContext cc, CodeExpression ce, MarkupEventInfo mei) 1980CodeExpression cDelExp = GetEventDelegate(cc, mei.mi, mei.eventName, mei.eventHandler); 2692CodeExpression[] uriParams = { new CodePrimitiveExpression(uriPart), cfreRelUri }; 3163CodeExpression[] ctorParams = {}; 3181CodeExpression ceValue = GetPropertyValueExpression(ctx, typeof(Uri), null, attributeValue);
System (1)
src\libraries\shims\System\ref\System.cs (1)
57[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.CodeExpression))]
System.CodeDom (105)
Microsoft\CSharp\CSharpCodeGenerator.cs (5)
420foreach (CodeExpression exp in e.Indices) 440foreach (CodeExpression exp in e.Indices) 1132private void GenerateExpression(CodeExpression e) 2181foreach (CodeExpression current in expressions) 3185void ICodeGenerator.GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o)
Microsoft\VisualBasic\VBCodeGenerator.cs (3)
633private void GenerateNotIsNullExpression(CodeExpression e) 1036foreach (CodeExpression exp in e.Indices) 1056foreach (CodeExpression exp in e.Indices)
System\CodeDom\CodeArrayCreateExpression.cs (7)
15public CodeArrayCreateExpression(CodeTypeReference createType, params CodeExpression[] initializers) 21public CodeArrayCreateExpression(string createType, params CodeExpression[] initializers) 27public CodeArrayCreateExpression(Type createType, params CodeExpression[] initializers) 51public CodeArrayCreateExpression(CodeTypeReference createType, CodeExpression size) 57public CodeArrayCreateExpression(string createType, CodeExpression size) 63public CodeArrayCreateExpression(Type createType, CodeExpression size) 79public CodeExpression SizeExpression { get; set; }
System\CodeDom\CodeArrayIndexerExpression.cs (3)
12public CodeArrayIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) 18public CodeExpression TargetObject { get; set; }
System\CodeDom\CodeAssignStatement.cs (4)
10public CodeAssignStatement(CodeExpression left, CodeExpression right) 16public CodeExpression Left { get; set; } 18public CodeExpression Right { get; set; }
System\CodeDom\CodeAttachEventStatement.cs (4)
12public CodeAttachEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) 18public CodeAttachEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) : 29public CodeExpression Listener { get; set; }
System\CodeDom\CodeAttributeArgument.cs (3)
12public CodeAttributeArgument(CodeExpression value) 17public CodeAttributeArgument(string name, CodeExpression value) 29public CodeExpression Value { get; set; }
System\CodeDom\CodeBinaryOperatorExpression.cs (4)
10public CodeBinaryOperatorExpression(CodeExpression left, CodeBinaryOperatorType op, CodeExpression right) 17public CodeExpression Right { get; set; } 19public CodeExpression Left { get; set; }
System\CodeDom\CodeCastExpression.cs (4)
12public CodeCastExpression(CodeTypeReference targetType, CodeExpression expression) 18public CodeCastExpression(string targetType, CodeExpression expression) 24public CodeCastExpression(Type targetType, CodeExpression expression) 36public CodeExpression Expression { get; set; }
System\CodeDom\CodeConditionStatement.cs (3)
10public CodeConditionStatement(CodeExpression condition, params CodeStatement[] trueStatements) 16public CodeConditionStatement(CodeExpression condition, CodeStatement[] trueStatements, CodeStatement[] falseStatements) 23public CodeExpression Condition { get; set; }
System\CodeDom\CodeDelegateCreateExpression.cs (2)
13public CodeDelegateCreateExpression(CodeTypeReference delegateType, CodeExpression targetObject, string methodName) 26public CodeExpression TargetObject { get; set; }
System\CodeDom\CodeDelegateInvokeExpression.cs (4)
10public CodeDelegateInvokeExpression(CodeExpression targetObject) 15public CodeDelegateInvokeExpression(CodeExpression targetObject, params CodeExpression[] parameters) 21public CodeExpression TargetObject { get; set; }
System\CodeDom\CodeDirectionExpression.cs (2)
10public CodeDirectionExpression(FieldDirection direction, CodeExpression expression) 16public CodeExpression Expression { get; set; }
System\CodeDom\CodeEventReferenceExpression.cs (2)
12public CodeEventReferenceExpression(CodeExpression targetObject, string eventName) 18public CodeExpression TargetObject { get; set; }
System\CodeDom\CodeExpressionCollection.cs (10)
17public CodeExpressionCollection(CodeExpression[] value) 22public CodeExpression this[int index] 24get => (CodeExpression)List[index]; 28public int Add(CodeExpression value) => List.Add(value); 30public void AddRange(CodeExpression[] value) 57public bool Contains(CodeExpression value) => List.Contains(value); 59public void CopyTo(CodeExpression[] array, int index) => List.CopyTo(array, index); 61public int IndexOf(CodeExpression value) => List.IndexOf(value); 63public void Insert(int index, CodeExpression value) => List.Insert(index, value); 65public void Remove(CodeExpression value) => List.Remove(value);
System\CodeDom\CodeExpressionStatement.cs (2)
10public CodeExpressionStatement(CodeExpression expression) 15public CodeExpression Expression { get; set; }
System\CodeDom\CodeFieldReferenceExpression.cs (2)
12public CodeFieldReferenceExpression(CodeExpression targetObject, string fieldName) 18public CodeExpression TargetObject { get; set; }
System\CodeDom\CodeIndexerExpression.cs (3)
12public CodeIndexerExpression(CodeExpression targetObject, params CodeExpression[] indices) 18public CodeExpression TargetObject { get; set; }
System\CodeDom\CodeIterationStatement.cs (2)
10public CodeIterationStatement(CodeStatement initStatement, CodeExpression testExpression, CodeStatement incrementStatement, params CodeStatement[] statements) 20public CodeExpression TestExpression { get; set; }
System\CodeDom\CodeMemberField.cs (1)
36public CodeExpression InitExpression { get; set; }
System\CodeDom\CodeMethodInvokeExpression.cs (3)
12public CodeMethodInvokeExpression(CodeMethodReferenceExpression method, params CodeExpression[] parameters) 18public CodeMethodInvokeExpression(CodeExpression targetObject, string methodName, params CodeExpression[] parameters)
System\CodeDom\codemethodreferenceexpression.cs (3)
13public CodeMethodReferenceExpression(CodeExpression targetObject, string methodName) 19public CodeMethodReferenceExpression(CodeExpression targetObject, string methodName, params CodeTypeReference[] typeParameters) 29public CodeExpression TargetObject { get; set; }
System\CodeDom\CodeMethodReturnStatement.cs (2)
10public CodeMethodReturnStatement(CodeExpression expression) 15public CodeExpression Expression { get; set; }
System\CodeDom\CodeObjectCreateExpression.cs (3)
12public CodeObjectCreateExpression(CodeTypeReference createType, params CodeExpression[] parameters) 18public CodeObjectCreateExpression(string createType, params CodeExpression[] parameters) 24public CodeObjectCreateExpression(Type createType, params CodeExpression[] parameters)
System\CodeDom\CodePropertyReferenceExpression.cs (2)
12public CodePropertyReferenceExpression(CodeExpression targetObject, string propertyName) 18public CodeExpression TargetObject { get; set; }
System\CodeDom\CodeRemoveEventStatement.cs (4)
12public CodeRemoveEventStatement(CodeEventReferenceExpression eventRef, CodeExpression listener) 18public CodeRemoveEventStatement(CodeExpression targetObject, string eventName, CodeExpression listener) 30public CodeExpression Listener { get; set; }
System\CodeDom\CodeStatementCollection.cs (1)
30public int Add(CodeExpression value) => Add(new CodeExpressionStatement(value));
System\CodeDom\CodeThrowExceptionStatement.cs (2)
10public CodeThrowExceptionStatement(CodeExpression toThrow) 15public CodeExpression ToThrow { get; set; }
System\CodeDom\CodeVariableDeclarationStatement.cs (4)
31public CodeVariableDeclarationStatement(CodeTypeReference type, string name, CodeExpression initExpression) 38public CodeVariableDeclarationStatement(string type, string name, CodeExpression initExpression) 45public CodeVariableDeclarationStatement(Type type, string name, CodeExpression initExpression) 52public CodeExpression InitExpression { get; set; }
System\CodeDom\Compiler\CodeDomProvider.cs (1)
160public virtual void GenerateCodeFromExpression(CodeExpression expression, TextWriter writer, CodeGeneratorOptions options) =>
System\CodeDom\Compiler\CodeGenerator.cs (3)
282void ICodeGenerator.GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o) 509protected void GenerateExpression(CodeExpression e) 1216foreach (CodeExpression current in expressions)
System\CodeDom\Compiler\CodeValidator.cs (6)
28else if (e is CodeExpression) 30ValidateExpression((CodeExpression)e); 602foreach (CodeExpression current in expressions) 669private void ValidateExpression(CodeExpression e) 847foreach (CodeExpression exp in e.Indices) 856foreach (CodeExpression exp in e.Indices)
System\CodeDom\Compiler\ICodeGenerator.cs (1)
16void GenerateCodeFromExpression(CodeExpression e, TextWriter w, CodeGeneratorOptions o);
System.Runtime.Serialization.Schema (5)
System\Runtime\Serialization\Schema\CodeExporter.cs (5)
1899new CodeExpression[] { getCurrentName, getCurrentValue }); 2010CodeExpression left = new CodeFieldReferenceExpression(ThisReference, fieldName); 2011CodeExpression right = new CodePropertySetValueReferenceExpression(); 2015"ReferenceEquals", new CodeExpression[] { left, right }); 2019left = new CodeMethodInvokeExpression(left, "Equals", new CodeExpression[] { right });
System.Windows.Forms.Design (117)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (8)
20private readonly Dictionary<string, List<CodeExpression>> _expressions = []; 30private static void PopulateCompleteStatements(object? data, string name, CodeStatementCollection completeStatements, Dictionary<string, List<CodeExpression>> expressions) 45else if (data is CodeExpression expression) 49if (!expressions.TryGetValue(name, out List<CodeExpression>? exps)) 347if (_expressions.Remove(name, out List<CodeExpression>? exps)) 349foreach (CodeExpression exp in exps) 363if (_expressions.TryGetValue(name, out List<CodeExpression>? exps)) 365foreach (CodeExpression exp in exps)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (7)
29public virtual string? GetTargetComponentName(CodeStatement? statement, CodeExpression? expression, Type? targetType) 51if (codeObject is CodeExpression expression) 87string supportedTypes = $"{nameof(CodeExpression)}, {nameof(CodeStatement)}, {nameof(CodeStatementCollection)}"; 147CodeExpression? expression = SerializeCreationExpression(manager, value, out bool isCompleteExpression); 187CodeExpression variableReference = new CodeVariableReferenceExpression(varName); 236CodeExpression? expression = GetExpression(manager, owningObject); 294protected CodeExpression? SerializeToReferenceExpression(IDesignerSerializationManager manager, object value)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (44)
493if (targetObject is not CodeExpression) 519CodeExpression expression = statement.Left; 533if (rhs is CodeExpression) 557if (rhs is CodeExpression) 610if (rhs is CodeExpression) 639if (rhs is CodeExpression) 654protected object? DeserializeExpression(IDesignerSerializationManager manager, string? name, CodeExpression? expression) 713if (parameters[i] is CodeExpression) 723if (target is not CodeExpression) 783if (target is not null and not CodeExpression) 854if (parameters[i] is CodeExpression) 966foreach (CodeExpression initializer in arrayCreateEx.Initializers) 972if (o is not CodeExpression) 1080if (parameters[i] is CodeExpression) 1113if (indexes[i] is CodeExpression) 1226if (targetObject is not CodeExpression) 1493if (target is not null and not CodeExpression) 1543if (lhs is not null and not CodeExpression) 1552if (rhs is CodeExpression) 1655protected CodeExpression? GetExpression(IDesignerSerializationManager manager, object value) 1657CodeExpression? expression = null; 1702CodeExpression? baseExpression = SerializeToExpression(manager, baseInstance); 1876protected CodeExpression? SerializeCreationExpression(IDesignerSerializationManager manager, object value, out bool isComplete) 1887CodeExpression expression = ctx.Expression; 1914CodeExpression? expression = SerializeToResourceExpression(manager, value); 1935private CodeExpression? SerializeInstanceDescriptor(IDesignerSerializationManager manager, object value, InstanceDescriptor descriptor) 1937CodeExpression expression; 1940CodeExpression[] arguments = new CodeExpression[descriptor.Arguments.Count]; 1957CodeExpression? exp = null; 2200CodeExpression? target = SerializeToExpression(manager, value); 2305protected CodeExpression? SerializeToExpression(IDesignerSerializationManager manager, object? value) 2307CodeExpression? expression = null; 2378expression = result as CodeExpression; 2430private static CodeExpression? GetLegacyExpression(IDesignerSerializationManager manager, object value) 2432CodeExpression? expression = null; 2492expression = exp as CodeExpression; 2525protected CodeExpression? SerializeToResourceExpression(IDesignerSerializationManager manager, object? value) 2538protected CodeExpression? SerializeToResourceExpression(IDesignerSerializationManager manager, object? value, bool ensureInvariant) 2540CodeExpression? result = null; 2560result = ResourceCodeDomSerializer.Default.Serialize(manager, value, false, ensureInvariant) as CodeExpression; 2576protected void SetExpression(IDesignerSerializationManager manager, object value, CodeExpression expression) 2587protected void SetExpression(IDesignerSerializationManager manager, object value, CodeExpression expression, bool isPreset) 2612CodeExpression? expression = null;
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (9)
145CodeExpression? target; 296protected virtual object? SerializeCollection(IDesignerSerializationManager manager, CodeExpression? targetExpression, Type targetType, ICollection originalCollection, ICollection valuesToSerialize) 417CodeExpression? expression = null; 470CodeExpression? targetExpression, 509CodeExpression? serializedObject = null; 555CodeExpression? targetExpression, 566List<CodeExpression> arrayList = new(valuesToSerialize.Count); 586CodeExpression? expression = null; 634foreach (CodeExpression expression in arrayList)
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (4)
150CodeExpression? assignLhs = GetExpression(manager, value); 269CodeExpression? assignRhs = null; 508private static void SerializeLoadComponentSettings(CodeStatementCollection statements, CodeExpression valueExpression) 527private static void SerializeSupportInitialize(CodeStatementCollection statements, CodeExpression valueExpression, string methodName)
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
48CodeExpression lhs;
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (2)
25CodeExpression? expression = null; 67CodeExpression newExpression = new CodeFieldReferenceExpression(enumType, termString);
System\ComponentModel\Design\Serialization\EventMemberCodeDomSerializer.cs (1)
47CodeExpression? eventTarget = SerializeToExpression(manager, value);
System\ComponentModel\Design\Serialization\ExpressionContext.cs (3)
26public ExpressionContext(CodeExpression expression, Type expressionType, object owner, object? presetValue) 34public ExpressionContext(CodeExpression expression, Type expressionType, object owner) : this(expression, expressionType, owner, null) 41public CodeExpression Expression { get; }
System\ComponentModel\Design\Serialization\ExpressionTable.cs (4)
17internal void SetExpression(object value, CodeExpression expression, bool isPreset) 23internal CodeExpression? GetExpression(object value) 33internal ExpressionInfo(CodeExpression expression, bool isPreset) 39internal CodeExpression Expression { get; }
System\ComponentModel\Design\Serialization\LocalizationCodeDomSerializer.cs (2)
112CodeExpression? ownerExpression = SerializeToExpression(manager, tree.Owner); 131CodeExpression? rmExpression = GetExpression(manager, resourceManager);
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (11)
148CodeExpression? target = SerializeToExpression(manager, value); 152CodeExpression? propertyRef = null; 159CodeExpression? extender = SerializeToExpression(manager, exAttr.Provider); 160CodeExpression? extended = SerializeToExpression(manager, value); 229CodeExpression? extender = SerializeToExpression(manager, exAttr.Provider); 230CodeExpression? extended = SerializeToExpression(manager, value); 236CodeExpression? serializedPropertyValue = null; 284CodeExpression? target = SerializeToExpression(manager, value); 288CodeExpression propertyRef = new CodePropertyReferenceExpression(target, property.Name); 290CodeExpression? serializedPropertyValue = null; 305CodeExpression? rhsTarget = SerializeToExpression(manager, relationship.Owner);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (6)
32public override string? GetTargetComponentName(CodeStatement? statement, CodeExpression? expression, Type? type) 76if (codeObject is CodeExpression expression) 111string supportedTypes = $"{nameof(CodeExpression)}, {nameof(CodeStatement)}, {nameof(CodeStatementCollection)}"; 261private CodeExpression Serialize(IDesignerSerializationManager manager, object? value, bool forceInvariant, bool shouldSerializeInvariant, bool ensureInvariant) 287CodeExpression[] parameters; 298CodeExpression initExpression = new CodeObjectCreateExpression(typeof(ComponentResourceManager), parameters);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.SerializationResourceManager.cs (1)
740CodeExpression expression = tree.Expression;
System\ComponentModel\Design\Serialization\RootContext.cs (2)
20public RootContext(CodeExpression expression, object value) 29public CodeExpression Expression { get; }
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (1)
245else if (manager.TryGetContext(out RootContext? rootCtx) && codeObject is CodeExpression exp && rootCtx.Expression == exp)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (1)
787CodeExpression getValue = new CodeMethodInvokeExpression(
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (3)
361CodeExpression? field = SerializeToExpression(manager, control); 436CodeExpression controlsCollection = new CodePropertyReferenceExpression(SerializeToExpression(manager, control), "Controls"); 444CodeExpression? childControl = SerializeToExpression(manager, child);
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionCodeDomSerializer.cs (1)
19CodeExpression? targetExpression,
System\Windows\Forms\Design\DataGridViewRowCollectionCodeDomSerializer.cs (1)
26protected override object SerializeCollection(IDesignerSerializationManager manager, CodeExpression? targetExpression, Type targetType, ICollection originalCollection, ICollection valuesToSerialize)
System\Windows\Forms\Design\ImageCollectionCodeDomSerializer.cs (2)
49CodeExpression? imageListObject = GetExpression(manager, value); 53CodeExpression imageListImagesProperty = new CodePropertyReferenceExpression(imageListObject, "Images");
System\Windows\Forms\Design\TableLayoutControlCollectionCodeDomSerializer.cs (2)
20protected override object SerializeCollection(IDesignerSerializationManager manager, CodeExpression? targetExpression, Type targetType, ICollection originalCollection, ICollection valuesToSerialize) 64CodeExpression? serializedObj = SerializeToExpression(manager, o);
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2224protected override object SerializeCollection(IDesignerSerializationManager manager, CodeExpression targetExpression, Type targetType, ICollection originalCollection, ICollection valuesToSerialize)
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\Serialization\ExpressionContextTests.cs (2)
18public void ExpressionContext_Ctor_CodeExpression_Type_Object_Object_TestData(CodeExpression expression, Type expressionType, object owner, object presetValue) 34public void ExpressionContext_Ctor_CodeExpression_Type_Object_TestData(CodeExpression expression, Type expressionType, object owner)
System\ComponentModel\Design\Serialization\RootContextTests.cs (2)
13CodeExpression expression = new(); 29CodeExpression expression = new();