60 instantiations of CodeObjectCreateExpression
dotnet-svcutil-lib (60)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (3)
167nodesField.InitExpression = new CodeObjectCreateExpression(listOfXElement); 197new CodeObjectCreateExpression( 262new CodeObjectCreateExpression(new CodeTypeReference(xelementType), new CodePrimitiveExpression("default")));
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (8)
112ctor.ChainedConstructorArgs.Add(new CodeObjectCreateExpression(new CodeTypeReference(callbackImpl.Name))); 124ctor.BaseConstructorArgs.Add(new CodeObjectCreateExpression(new CodeTypeReference(typeof(System.ServiceModel.InstanceContext)), new CodeArgumentReferenceExpression("callbackImpl"))); 147ctor.ChainedConstructorArgs.Add(new CodeObjectCreateExpression(new CodeTypeReference(callbackImpl.Name))); 161ctor.BaseConstructorArgs.Add(new CodeObjectCreateExpression(new CodeTypeReference(typeof(System.ServiceModel.InstanceContext)), new CodeArgumentReferenceExpression("callbackImpl"))); 186ctor.ChainedConstructorArgs.Add(new CodeObjectCreateExpression(new CodeTypeReference(callbackImpl.Name))); 196ctor.BaseConstructorArgs.Add(new CodeObjectCreateExpression(new CodeTypeReference(typeof(System.ServiceModel.InstanceContext)), new CodeArgumentReferenceExpression("callbackImpl"))); ; 267newEventArgsExpr = new CodeObjectCreateExpression(operationReceivedEventArgsType.Name, 276newEventArgsExpr = new CodeObjectCreateExpression(typeof(AsyncCompletedEventArgs),
CodeDomFixup\ConfigToCode.cs (2)
254new CodeObjectCreateExpression( 383new CodeObjectCreateExpression(
CodeDomFixup\MethodCreationHelper.cs (37)
270new CodeObjectCreateExpression(typeof(WSHttpBinding)))); 279new CodeObjectCreateExpression(typeof(WSHttpBinding)))); 411new CodeObjectCreateExpression(typeof(WS2007HttpBinding)))); 420new CodeObjectCreateExpression(typeof(WS2007HttpBinding)))); 583new CodeObjectCreateExpression(typeof(WSHttpBinding), 599new CodeObjectCreateExpression(typeof(EndpointAddress), 600new CodeObjectCreateExpression(typeof(Uri), 628new CodeObjectCreateExpression(typeof(System.ServiceModel.Federation.WSFederationHttpBinding), wsTrustTokenVar))); 787new CodeObjectCreateExpression(typeof(WSHttpBinding), 803new CodeObjectCreateExpression(typeof(EndpointAddress), 804new CodeObjectCreateExpression(typeof(Uri), 832new CodeObjectCreateExpression(typeof(System.ServiceModel.Federation.WSFederationHttpBinding), wsTrustTokenVar))); 959new CodeObjectCreateExpression(typeof(CustomBinding)))); 968new CodeObjectCreateExpression(typeof(CustomBinding)))); 1102new CodeObjectCreateExpression(typeof(SslStreamSecurityBindingElement)))); 1113new CodeObjectCreateExpression(typeof(WindowsStreamSecurityBindingElement)))); 1206new CodeObjectCreateExpression(typeof(TcpTransportBindingElement))); 1301new CodeObjectCreateExpression(typeof(NamedPipeTransportBindingElement))); 1352return new CodeObjectCreateExpression(typeof(TimeSpan), new CodePrimitiveExpression(value.Ticks)); 1364new CodeObjectCreateExpression(bindingElementType)); 1430new CodeObjectCreateExpression(typeof(BinaryMessageEncodingBindingElement)))); 1439new CodeObjectCreateExpression(typeof(MtomMessageEncodingBindingElement))); 1481new CodeObjectCreateExpression(typeof(TextMessageEncodingBindingElement))); 1523new CodeObjectCreateExpression(typeof(ReliableSessionBindingElement))); 1692new CodeObjectCreateExpression(typeof(NetTcpBinding)))); 1701new CodeObjectCreateExpression(typeof(NetTcpBinding)))); 1799new CodeObjectCreateExpression(typeof(NetNamedPipeBinding)))); 1884new CodeObjectCreateExpression(typeof(BasicHttpBinding)))); 1893new CodeObjectCreateExpression(typeof(BasicHttpBinding)))); 1991new CodeObjectCreateExpression(typeof(NetHttpBinding)))); 2000new CodeObjectCreateExpression(typeof(NetHttpBinding)))); 2142createIdentityExpression = new CodeObjectCreateExpression(identity.GetType(), new CodePrimitiveExpression(identity.IdentityClaim.Resource)); 2147createEndpointAddressExpression = new CodeObjectCreateExpression( 2149new CodeObjectCreateExpression( 2156createEndpointAddressExpression = new CodeObjectCreateExpression( 2213new CodeObjectCreateExpression( 2223new CodeObjectCreateExpression(
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
415ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, new CodeThisReferenceExpression(), new CodeObjectCreateExpression(typeof(PropertyChangedEventArgs), propertyName)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (2)
304initExpression = new CodeObjectCreateExpression(new CodeTypeReference(typeof(DateTime)), new CodeExpression[] { new CodePrimitiveExpression(ticks) }); 311initExpression = new CodeObjectCreateExpression(new CodeTypeReference(typeof(Guid)), new CodeExpression[] { valueExpression });
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (2)
1225typeNameField.InitExpression = new CodeObjectCreateExpression(Globals.TypeOfXmlQualifiedName, new CodePrimitiveExpression(typeName.Name), new CodePrimitiveExpression(typeName.Namespace)); 1711ifStatement.TrueStatements.Add(new CodeDelegateInvokeExpression(propertyChanged, ThisReference, new CodeObjectCreateExpression(typeof(PropertyChangedEventArgs), propertyName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
40newValue = new CodeObjectCreateExpression(
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (4)
276helperMethod.Statements.Add(new CodeVariableDeclarationStatement(param.Type, inValue.VariableName, new CodeObjectCreateExpression(param.Type))); 325helperMethod.Statements.Add(new CodeAssignStatement(fieldRef, new CodeObjectCreateExpression(field.Type))); 802newEventArgsExpr = new CodeObjectCreateExpression(operationCompletedEventArgsType.Name, 810newEventArgsExpr = new CodeObjectCreateExpression(s_asyncCompletedEventArgsType,
17 references to CodeObjectCreateExpression
dotnet-svcutil-lib (17)
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
360protected override void Visit(CodeObjectCreateExpression expr) 622else if (expr is CodeObjectCreateExpression) 623Visit((CodeObjectCreateExpression)expr); 663protected virtual void Visit(CodeObjectCreateExpression expr) { }
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
264CodeObjectCreateExpression newEventArgsExpr = null;
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
776else if (e is CodeObjectCreateExpression) 778GenerateObjectCreateExpression((CodeObjectCreateExpression)e); 1712protected abstract void GenerateObjectCreateExpression(CodeObjectCreateExpression e);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (3)
789else if (e is CodeObjectCreateExpression) 791ValidateObjectCreateExpression((CodeObjectCreateExpression)e); 958private void ValidateObjectCreateExpression(CodeObjectCreateExpression e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
1296private void GenerateObjectCreateExpression(CodeObjectCreateExpression e) 1921else if (e is CodeObjectCreateExpression) 1923GenerateObjectCreateExpression((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)
798CodeObjectCreateExpression newEventArgsExpr;