37 references to Namespace
dotnet-svcutil-lib (37)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (4)
169throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.CannotImportProtectionLevelForContract, contract.Name, contract.Namespace))); 225string contractAssociationName = String.Format("{0}:{1}:{2}", ContractProtectionLevelKey, policyContext.Contract.Name, policyContext.Contract.Namespace); 373throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.CannotImportProtectionLevelForContract, policyContext.Contract.Name, policyContext.Contract.Namespace))); 401throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.CannotImportProtectionLevelForContract, policyContext.Contract.Name, policyContext.Contract.Namespace)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
529string.Format(SRServiceModel.HttpTransportCannotHaveMultipleAuthenticationSchemes, policyContext.Contract.Namespace, policyContext.Contract.Name))); 554policyContext.Contract.Namespace,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (1)
213if (this.Namespace == null)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (1)
22ClientRuntime clientRuntime = new ClientRuntime(contractDescription.Name, contractDescription.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (2)
549request.Body.WrapperNamespace = operation.DeclaringContract.Namespace; 557response.Body.WrapperNamespace = operation.DeclaringContract.Namespace;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
133_contractNS = context.Operation.DeclaringContract.Namespace;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (5)
129CodeNamespace ns = this.NamespaceManager.EnsureNamespace(contractDescription.Namespace); 246UniqueCodeNamespaceScope codeNamespaceScope = new UniqueCodeNamespaceScope(_parent.NamespaceManager.EnsureNamespace(contractDescription.Namespace)); 353if (NamingHelper.DefaultNamespace != context.Contract.Namespace) 354serviceContractAttr.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(context.Contract.Namespace))); 621if (fault.Namespace != context.Contract.Contract.Namespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpointCollection.cs (3)
43if (endpoint != null && endpoint.Contract.Name == contractName.Name && endpoint.Contract.Namespace == contractName.Namespace) 90endpoint.Contract.Namespace == contractName.Namespace && 150if (endpoint != null && endpoint.Contract.Name == contractName.Name && endpoint.Contract.Namespace == contractName.Namespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
105XmlQualifiedName contractQname = new XmlQualifiedName(contract.Name, contract.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (5)
970XmlQualifiedName contractQname = new XmlQualifiedName(declaringContract.Name, declaringContract.Namespace); 982FaultDescription faultDescription = CreateFaultDescription(knownFault, contractQname, declaringContract.Namespace, operationDescription.XmlName); 1006string wrapperNamespace = declaringContract.Namespace; 1013contractDescription.Namespace, 1045contractDescription.Namespace,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (6)
56string warningMsg = isWildcardAction ? string.Format(SRServiceModel.WarnSkippingOpertationWithWildcardAction, contract.Name, contract.Namespace, operation.Name) 57: string.Format(SRServiceModel.WarnSkippingOpertationWithSessionOpenNotificationEnabled, "Action", OperationDescription.SessionOpenedAction, contract.Name, contract.Namespace, operation.Name); 262throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.DuplicateContractQNameNameOnExport, contract.Name, contract.Namespace))); 1038return new XmlQualifiedName(contract.Name, contract.Namespace); 1202string contractIdentifier = new XmlQualifiedName(contract.Name, contract.Namespace).ToString(); 1217endpoint.Contract.Namespace,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (6)
36Reflector parentReflector = new Reflector(operation.DeclaringContract.Namespace, operation.DeclaringContract.ContractType); 95Reflector reflector = new Reflector(contract.Namespace, contract.ContractType); 266_keyBase = operation.DeclaringContract.Name + "," + operation.DeclaringContract.Namespace + ":"; 307get { return this.Operation.DeclaringContract.Namespace; } 423throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNameMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Name, headerName))); 430throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNamespaceMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Namespace, headerNs)));