3 writes to ContractType
System.ServiceModel.Primitives (3)
System\ServiceModel\Description\TypeLoader.cs (3)
185
contract.
ContractType
= channelType;
200
contract.
ContractType
= channelType;
757
contractDescription.
ContractType
= contractType;
18 references to ContractType
System.ServiceModel.Primitives (16)
System\ServiceModel\ChannelFactory.cs (2)
519
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SfxCallbackTypeCannotBeNull, endpoint.Contract.
ContractType
.FullName)));
528
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SfxCallbackTypeCannotBeNull, endpoint.Contract.
ContractType
.FullName)));
System\ServiceModel\DeliveryRequirementsAttribute.cs (1)
75
string name = endpoint.Contract.
ContractType
.Name;
System\ServiceModel\Description\DispatcherBuilder.cs (1)
24
clientRuntime.ContractClientType = contractDescription.
ContractType
;
System\ServiceModel\Description\ServiceEndpointCollection.cs (3)
26
if (endpoint != null && endpoint.Contract.
ContractType
== contractType)
66
if (endpoint != null && endpoint.Contract.
ContractType
== contractType &&
131
if (endpoint != null && endpoint.Contract.
ContractType
== contractType)
System\ServiceModel\Description\TypeLoader.cs (6)
230
Type targetIface = implIsCallback ? opDesc.DeclaringContract.CallbackContractType : opDesc.DeclaringContract.
ContractType
;
284
GetFormattingAttribute(operationDescription.DeclaringContract.
ContractType
,
692
if (!(declaringContract.
ContractType
.IsAssignableFrom(contractDescription.
ContractType
)))
696
String.Format(CultureInfo.InvariantCulture, "Bad contract inheritence. Contract {0} does not implement {1}", declaringContract.
ContractType
.Name, contractDescription.
ContractType
.Name)
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
36
Reflector parentReflector = new Reflector(operation.DeclaringContract.Namespace, operation.DeclaringContract.
ContractType
);
91
Reflector reflector = new Reflector(contract.Namespace, contract.
ContractType
);
229
Type contractType = operation.DeclaringContract != null ? operation.DeclaringContract.
ContractType
: null;
System.ServiceModel.Primitives.Tests (1)
Description\ContractDescriptionTest.cs (1)
202
Assert.Equal(typeof(IDescriptionTestsService).Name, contractDescription.
ContractType
.Name);
UnitTests.Common (1)
TestHelpers.cs (1)
125
Type contractType = contract.
ContractType
;