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