45 references to CodeObjectCreateExpression
dotnet-svcutil-lib (45)
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
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\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 (1)
810
newEventArgsExpr = new
CodeObjectCreateExpression
(s_asyncCompletedEventArgsType,