3 writes to ContractType
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (3)
185contract.ContractType = channelType; 200contract.ContractType = channelType; 744contractDescription.ContractType = contractType;
15 references to ContractType
dotnet-svcutil-lib (15)
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (2)
588throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName))); 597throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (1)
23clientRuntime.ContractClientType = contractDescription.ContractType;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpointCollection.cs (3)
25if (endpoint != null && endpoint.Contract.ContractType == contractType) 65if (endpoint != null && endpoint.Contract.ContractType == contractType && 130if (endpoint != null && endpoint.Contract.ContractType == contractType)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (6)
230Type targetIface = implIsCallback ? opDesc.DeclaringContract.CallbackContractType : opDesc.DeclaringContract.ContractType; 284GetFormattingAttribute(operationDescription.DeclaringContract.ContractType, 679if (!(declaringContract.ContractType.IsAssignableFrom(contractDescription.ContractType))) 683String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.ContractType.Name, contractDescription.ContractType.Name)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
36Reflector parentReflector = new Reflector(operation.DeclaringContract.Namespace, operation.DeclaringContract.ContractType); 95Reflector reflector = new Reflector(contract.Namespace, contract.ContractType); 198Type contractType = operation.DeclaringContract != null ? operation.DeclaringContract.ContractType : null;