60 instantiations of CodeObjectCreateExpression
dotnet-svcutil-lib (60)
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 (8)
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"))); ;
267
newEventArgsExpr = new
CodeObjectCreateExpression
(operationReceivedEventArgsType.Name,
276
newEventArgsExpr = new
CodeObjectCreateExpression
(typeof(AsyncCompletedEventArgs),
CodeDomFixup\ConfigToCode.cs (2)
254
new
CodeObjectCreateExpression
(
383
new
CodeObjectCreateExpression
(
CodeDomFixup\MethodCreationHelper.cs (37)
270
new
CodeObjectCreateExpression
(typeof(WSHttpBinding))));
279
new
CodeObjectCreateExpression
(typeof(WSHttpBinding))));
411
new
CodeObjectCreateExpression
(typeof(WS2007HttpBinding))));
420
new
CodeObjectCreateExpression
(typeof(WS2007HttpBinding))));
583
new
CodeObjectCreateExpression
(typeof(WSHttpBinding),
599
new
CodeObjectCreateExpression
(typeof(EndpointAddress),
600
new
CodeObjectCreateExpression
(typeof(Uri),
628
new
CodeObjectCreateExpression
(typeof(System.ServiceModel.Federation.WSFederationHttpBinding), wsTrustTokenVar)));
787
new
CodeObjectCreateExpression
(typeof(WSHttpBinding),
803
new
CodeObjectCreateExpression
(typeof(EndpointAddress),
804
new
CodeObjectCreateExpression
(typeof(Uri),
832
new
CodeObjectCreateExpression
(typeof(System.ServiceModel.Federation.WSFederationHttpBinding), wsTrustTokenVar)));
959
new
CodeObjectCreateExpression
(typeof(CustomBinding))));
968
new
CodeObjectCreateExpression
(typeof(CustomBinding))));
1102
new
CodeObjectCreateExpression
(typeof(SslStreamSecurityBindingElement))));
1113
new
CodeObjectCreateExpression
(typeof(WindowsStreamSecurityBindingElement))));
1206
new
CodeObjectCreateExpression
(typeof(TcpTransportBindingElement)));
1301
new
CodeObjectCreateExpression
(typeof(NamedPipeTransportBindingElement)));
1352
return new
CodeObjectCreateExpression
(typeof(TimeSpan), new CodePrimitiveExpression(value.Ticks));
1364
new
CodeObjectCreateExpression
(bindingElementType));
1430
new
CodeObjectCreateExpression
(typeof(BinaryMessageEncodingBindingElement))));
1439
new
CodeObjectCreateExpression
(typeof(MtomMessageEncodingBindingElement)));
1481
new
CodeObjectCreateExpression
(typeof(TextMessageEncodingBindingElement)));
1523
new
CodeObjectCreateExpression
(typeof(ReliableSessionBindingElement)));
1692
new
CodeObjectCreateExpression
(typeof(NetTcpBinding))));
1701
new
CodeObjectCreateExpression
(typeof(NetTcpBinding))));
1799
new
CodeObjectCreateExpression
(typeof(NetNamedPipeBinding))));
1884
new
CodeObjectCreateExpression
(typeof(BasicHttpBinding))));
1893
new
CodeObjectCreateExpression
(typeof(BasicHttpBinding))));
1991
new
CodeObjectCreateExpression
(typeof(NetHttpBinding))));
2000
new
CodeObjectCreateExpression
(typeof(NetHttpBinding))));
2142
createIdentityExpression = new
CodeObjectCreateExpression
(identity.GetType(), new CodePrimitiveExpression(identity.IdentityClaim.Resource));
2147
createEndpointAddressExpression = new
CodeObjectCreateExpression
(
2149
new
CodeObjectCreateExpression
(
2156
createEndpointAddressExpression = new
CodeObjectCreateExpression
(
2213
new
CodeObjectCreateExpression
(
2223
new
CodeObjectCreateExpression
(
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
415
ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, new CodeThisReferenceExpression(), new
CodeObjectCreateExpression
(typeof(PropertyChangedEventArgs), propertyName)));
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.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (2)
1225
typeNameField.InitExpression = new
CodeObjectCreateExpression
(Globals.TypeOfXmlQualifiedName, new CodePrimitiveExpression(typeName.Name), new CodePrimitiveExpression(typeName.Namespace));
1711
ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, ThisReference, new
CodeObjectCreateExpression
(typeof(PropertyChangedEventArgs), propertyName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
40
newValue = new
CodeObjectCreateExpression
(
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (4)
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)));
802
newEventArgsExpr = new
CodeObjectCreateExpression
(operationCompletedEventArgsType.Name,
810
newEventArgsExpr = new
CodeObjectCreateExpression
(s_asyncCompletedEventArgsType,
17 references to CodeObjectCreateExpression
dotnet-svcutil-lib (17)
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
360
protected override void Visit(
CodeObjectCreateExpression
expr)
622
else if (expr is
CodeObjectCreateExpression
)
623
Visit((
CodeObjectCreateExpression
)expr);
663
protected virtual void Visit(
CodeObjectCreateExpression
expr) { }
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
264
CodeObjectCreateExpression
newEventArgsExpr = null;
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
776
else if (e is
CodeObjectCreateExpression
)
778
GenerateObjectCreateExpression((
CodeObjectCreateExpression
)e);
1712
protected abstract void GenerateObjectCreateExpression(
CodeObjectCreateExpression
e);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (3)
789
else if (e is
CodeObjectCreateExpression
)
791
ValidateObjectCreateExpression((
CodeObjectCreateExpression
)e);
958
private void ValidateObjectCreateExpression(
CodeObjectCreateExpression
e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
1296
private void GenerateObjectCreateExpression(
CodeObjectCreateExpression
e)
1921
else if (e is
CodeObjectCreateExpression
)
1923
GenerateObjectCreateExpression((
CodeObjectCreateExpression
)e);
FrameworkFork\Microsoft.CodeDom\System\CodeObjectCreateExpression.cs (2)
30
/// Initializes a new <see cref='Microsoft.CodeDom.
CodeObjectCreateExpression
'/>.
39
/// Initializes a new <see cref='Microsoft.CodeDom.
CodeObjectCreateExpression
'/> using the specified type and
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
798
CodeObjectCreateExpression
newEventArgsExpr;