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