14 references to CodeObjectCreateExpression
PresentationBuildTasks (3)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (3)
985new CodeObjectCreateExpression(KnownTypes.Types[(int)KnownElements.EventSetter], 1946CodeObjectCreateExpression coce = new CodeObjectCreateExpression(eventHandlerType, delParams); 2690CodeObjectCreateExpression coceResourceLocator = new CodeObjectCreateExpression(typeof(System.Uri), uriParams);
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\CodeExporter.cs (2)
1309typeNameField.InitExpression = new CodeObjectCreateExpression(ImportGlobals.TypeOfXmlQualifiedName, new CodePrimitiveExpression(typeName.Name), new CodePrimitiveExpression(typeName.Namespace)); 1966ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, ThisReference, new CodeObjectCreateExpression(typeof(PropertyChangedEventArgs), propertyName)));
System.Windows.Forms.Design (2)
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
69CodeObjectCreateExpression objCreate = new(typeof(Container));
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
298CodeExpression initExpression = new CodeObjectCreateExpression(typeof(ComponentResourceManager), parameters);
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (7)
146new CodeAssignStatement(new CodeVariableReferenceExpression("name1"), new CodeObjectCreateExpression(typeof(DataClass))), 160new CodeAssignStatement(new CodeVariableReferenceExpression("name2"), new CodeObjectCreateExpression(typeof(DataClass))), 248new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))), 350new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))), 395new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))), 536new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))), 585new CodeAssignStatement(new CodeVariableReferenceExpression("name"), new CodeObjectCreateExpression(typeof(DataClass))),