3 writes to Namespace
System.ServiceModel (2)
System\ServiceModel\Description\MessageContractImporter.cs (1)
604
faultDescription.
Namespace
= detailElementQname.Namespace;
System\ServiceModel\Description\TypeLoader.cs (1)
1058
fault.
Namespace
= attr.Namespace ?? contractNamespace;
System.ServiceModel.Activities (1)
System\ServiceModel\Activities\MessageBuilder.cs (1)
267
Namespace
= operation.DeclaringContract.Namespace,
12 references to Namespace
System.ServiceModel (10)
System\ServiceModel\Description\DispatcherBuilder.cs (2)
995
child.FaultContractInfos.Add(new FaultContractInfo(fault.Action, fault.DetailType, fault.ElementName, fault.
Namespace
, operation.KnownTypes));
1022
child.FaultContractInfos.Add(new FaultContractInfo(fault.Action, fault.DetailType, fault.ElementName, fault.
Namespace
, operation.KnownTypes));
System\ServiceModel\Description\MessageContractExporter.cs (1)
237
elementName = new XmlQualifiedName(fault.ElementName.EncodedName, fault.
Namespace
);
System\ServiceModel\Description\ServiceContractGenerator.cs (2)
675
if (fault.
Namespace
!= context.Contract.Contract.Namespace)
676
faultContractAttr.Arguments.Add(new CodeAttributeArgument("Namespace", new CodePrimitiveExpression(fault.
Namespace
)));
System\ServiceModel\Description\TypeLoader.cs (3)
1041
if (!XmlName.IsNullOrEmpty(existingFault.ElementName) && !XmlName.IsNullOrEmpty(fault.ElementName) && existingFault.ElementName == fault.ElementName && existingFault.
Namespace
== fault.
Namespace
)
1043
SR.GetString(SR.SFxFaultContractDuplicateElement, operationName, fault.ElementName, fault.
Namespace
)));
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
415
FaultContractInfo faultContractInfo = new FaultContractInfo(fault.Action, fault.DetailType, fault.ElementName, fault.
Namespace
, this.Operation.KnownTypes);
614
string faultNamespace = fault.
Namespace
;
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\ContractValidationHelper.cs (2)
168
if (targetFault.
Namespace
!= targetOperation.DeclaringContract.Namespace)
170
Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(targetOperation.DeclaringContract.Namespace, "Fault Namespace", targetFault.
Namespace
, targetOperation.Name, targetOperation.DeclaringContract.Name)));