29 references to DeclaringContract
dotnet-svcutil-lib (29)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (2)
194
if (od.
DeclaringContract
!= this)
196
ContractDescription inheritedContract = od.
DeclaringContract
;
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 (2)
403
if ((operationDescription.
DeclaringContract
.SessionMode == SessionMode.Required) && operationDescription.IsTerminating)
407
if ((operationDescription.
DeclaringContract
.SessionMode == SessionMode.Required) && !operationDescription.IsInitiating)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
104
ContractDescription contract = operation.
DeclaringContract
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (7)
218
bool isInherited = operationDescription.
DeclaringContract
!= contractDesc;
229
bool isInherited = opDesc.
DeclaringContract
!= contractDesc;
230
Type targetIface = implIsCallback ? opDesc.
DeclaringContract
.CallbackContractType : opDesc.
DeclaringContract
.ContractType;
281
bool isInherited = operationDescription.
DeclaringContract
!= contractDesc;
284
GetFormattingAttribute(operationDescription.
DeclaringContract
.ContractType,
784
op.Name, inheritedContractDescription.Name, existingOp.
DeclaringContract
.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (14)
36
Reflector parentReflector = new Reflector(operation.
DeclaringContract
.Namespace, operation.
DeclaringContract
.ContractType);
102
bool isInherited = operation.
DeclaringContract
!= contract;
198
Type contractType = operation.
DeclaringContract
!= null ? operation.
DeclaringContract
.ContractType : null;
264
if (operation.
DeclaringContract
!= null)
266
_keyBase = operation.
DeclaringContract
.Name + "," + operation.
DeclaringContract
.Namespace + ":";
302
get { return this.Operation.
DeclaringContract
.Name; }
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)));