13 references to CodeObjectCreateExpression
dotnet-svcutil-lib (13)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (3)
167
nodesField.InitExpression = new
CodeObjectCreateExpression
(listOfXElement);
197
new
CodeObjectCreateExpression
(
262
new
CodeObjectCreateExpression
(new CodeTypeReference(xelementType), new CodePrimitiveExpression("default")));
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (6)
112
ctor.ChainedConstructorArgs.Add(new
CodeObjectCreateExpression
(new CodeTypeReference(callbackImpl.Name)));
124
ctor.BaseConstructorArgs.Add(new
CodeObjectCreateExpression
(new CodeTypeReference(typeof(System.ServiceModel.InstanceContext)), new CodeArgumentReferenceExpression("callbackImpl")));
147
ctor.ChainedConstructorArgs.Add(new
CodeObjectCreateExpression
(new CodeTypeReference(callbackImpl.Name)));
161
ctor.BaseConstructorArgs.Add(new
CodeObjectCreateExpression
(new CodeTypeReference(typeof(System.ServiceModel.InstanceContext)), new CodeArgumentReferenceExpression("callbackImpl")));
186
ctor.ChainedConstructorArgs.Add(new
CodeObjectCreateExpression
(new CodeTypeReference(callbackImpl.Name)));
196
ctor.BaseConstructorArgs.Add(new
CodeObjectCreateExpression
(new CodeTypeReference(typeof(System.ServiceModel.InstanceContext)), new CodeArgumentReferenceExpression("callbackImpl"))); ;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (2)
304
initExpression = new
CodeObjectCreateExpression
(new CodeTypeReference(typeof(DateTime)), new CodeExpression[] { new CodePrimitiveExpression(ticks) });
311
initExpression = new
CodeObjectCreateExpression
(new CodeTypeReference(typeof(Guid)), new CodeExpression[] { valueExpression });
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (2)
276
helperMethod.Statements.Add(new CodeVariableDeclarationStatement(param.Type, inValue.VariableName, new
CodeObjectCreateExpression
(param.Type)));
325
helperMethod.Statements.Add(new CodeAssignStatement(fieldRef, new
CodeObjectCreateExpression
(field.Type)));