8 writes to ContractType
System.ServiceModel (4)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (1)
79contract.ContractType = type;
System\ServiceModel\Description\TypeLoader.cs (3)
185contract.ContractType = channelType; 200contract.ContractType = channelType; 695contractDescription.ContractType = contractType;
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\ContractInferenceHelper.cs (3)
112ContractType = channelType, 138ContractType = channelType, 197ContractType = channelType,
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
79tempControlServiceContract.ContractType = typeof(IWorkflowInstanceManagement);
54 references to ContractType
System.ServiceModel (36)
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
50contract.SetProperty(AdministrationStrings.Type, contractDescription.ContractType.Name);
System\ServiceModel\ChannelFactory.cs (2)
841throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName))); 850throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SfxCallbackTypeCannotBeNull, endpoint.Contract.ContractType.FullName)));
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (2)
41contractQName, contract.ContractType.ToString()); 334Type contractType = contract.ContractType;
System\ServiceModel\ComIntegration\ComPlusThreadInitializer.cs (1)
32iid = contract.ContractType.GUID;
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (1)
124SR.TraceCodeComIntegrationChannelCreated, serviceEndpoint.Address.Uri, contractDescription.ContractType);
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
119SR.TraceCodeComIntegrationChannelCreated, serviceEndpoint.Address.Uri, contractDescription.ContractType);
System\ServiceModel\DeliveryRequirementsAttribute.cs (1)
87string name = endpoint.Contract.ContractType.Name;
System\ServiceModel\Description\DispatcherBuilder.cs (2)
88clientRuntime.ContractClientType = contractDescription.ContractType; 946dispatch.CallbackClientRuntime.ContractClientType = contractDescription.ContractType;
System\ServiceModel\Description\MessageContractExporter.cs (1)
1249reflector = new XmlSerializerOperationBehavior.Reflector(contractContext.Contract.Namespace, contractContext.Contract.ContractType);
System\ServiceModel\Description\ServiceEndpointCollection.cs (3)
28if (endpoint != null && endpoint.Contract.ContractType == contractType) 68if (endpoint != null && endpoint.Contract.ContractType == contractType && 133if (endpoint != null && endpoint.Contract.ContractType == contractType)
System\ServiceModel\Description\TaskOperationDescriptionValidator.cs (2)
38throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotHaveTwoOperationsWithTheSameName3, method1Name, method2Name, operation.DeclaringContract.ContractType))); 48throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotHaveTwoOperationsWithTheSameName3, method1Name, method2Name, operation.DeclaringContract.ContractType)));
System\ServiceModel\Description\TypeLoader.cs (7)
230Type targetIface = implIsCallback ? opDesc.DeclaringContract.CallbackContractType : opDesc.DeclaringContract.ContractType; 295GetFormattingAttribute(operationDescription.DeclaringContract.ContractType, 339|| (iContractBehaviorAttribute.TargetContract == description.ContractType)) 621if (!(declaringContract.ContractType.IsAssignableFrom(contractDescription.ContractType))) 625String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.ContractType.Name, contractDescription.ContractType.Name)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
35Reflector parentReflector = new Reflector(operation.DeclaringContract.Namespace, operation.DeclaringContract.ContractType); 94Reflector reflector = new Reflector(contract.Namespace, contract.ContractType); 242Type contractType = operation.DeclaringContract != null ? operation.DeclaringContract.ContractType : null;
System\ServiceModel\ServiceConfiguration.cs (4)
181if (!endpoint.IsSystemEndpoint || (endpoint.Contract.ContractType == typeof(IMetadataExchange))) 222: this.host.ImplementedContracts.Values.FirstOrDefault(implementedContract => implementedContract.ContractType == contractType); 297|| !contract.ContractType.IsAssignableFrom(otherContract.ContractType)));
System\ServiceModel\ServiceHost.cs (5)
413if (!endpoint.IsSystemEndpoint || endpoint.Contract.ContractType == typeof(IMetadataExchange)) 1792Type contractType = contract.ContractType; 1798Type otherContractType = otherContract.ContractType; 2007if (!reflectedContracts.Contains(inheritedContract.ContractType)) 2064return item.ContractType;
System.ServiceModel.Activities (7)
System\ServiceModel\Activities\ContractInferenceHelper.cs (1)
167if (serviceEndpoint.Contract.ContractType == null)
System\ServiceModel\Activities\InternalSendMessage.cs (4)
3181if (c1.ContractType == null || c2.ContractType == null) 3194c1.ContractType == c2.ContractType &&
System\ServiceModel\Activities\WorkflowServiceHost.cs (2)
652if (contractDescriptionDictionary.TryGetValue(serviceEndpoint.Contract.ContractType, out contract)) 658contractDescriptionDictionary[serviceEndpoint.Contract.ContractType] = serviceEndpoint.Contract;
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\RoutingChannelExtension.cs (1)
182Type contractType = endpointBehavior.Endpoint.Contract.ContractType;
System.ServiceModel.Web (4)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
102serviceData.Initialize(new WebServiceTypeData(XmlConvert.DecodeName(contract.Name), XmlConvert.DecodeName(contract.Namespace), contract.ContractType),
System\ServiceModel\Description\WebScriptClientGenerator.cs (1)
48proxy = WCFServiceClientProxyGenerator.GetClientProxyScript(this.endpoint.Contract.ContractType, baseUri.AbsoluteUri, this.debugMode, endpoint);
System\ServiceModel\Web\AutomaticEndpointGenerator.cs (1)
108this.singleImplementedContract = contract.ContractType;
System\ServiceModel\Web\WebServiceHost.cs (1)
114contractType = contract.ContractType;
System.WorkflowServices (6)
System\Workflow\Activities\ReceiveActivity.cs (3)
681context.ReflectedContracts.Add(contractDescription.ContractType); 692if (!context.ReflectedContracts.Contains(inheritedContractDescription.ContractType)) 697context.ReflectedContracts.Add(inheritedContractDescription.ContractType);
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
288new KeyValuePair<Type, string>(opDescription.DeclaringContract.ContractType, opDescription.Name);
System\Workflow\Runtime\Hosting\ChannelManager.cs (2)
51if (endpoint.Contract.ContractType != null) 53cacheAddress = ChannelManagerHelpers.BuildCacheAddress(endpoint.Name, endpoint.Contract.ContractType);