91 instantiations of ServiceContractAttribute
Binding.Http.IntegrationTests (1)
MtomBindingTestHelper.cs (1)
17[ServiceContract]
Binding.Tcp.IntegrationTests (1)
OperationContextAsyncFlowTests.cs (1)
180[ServiceContract(CallbackContract = typeof(IDuplexChannelCallback))]
Binding.UDS.IntegrationTests (1)
ServiceContract\IEchoService.cs (1)
15[ServiceContract(Namespace = Constants.NS, Name = Constants.TESTSERVICE_NAME)]
Client.TypedClient.IntegrationTests (1)
TypedProxyTests.4.0.0.cs (1)
435[ServiceContract(CallbackContract = typeof(IDuplexChannelCallback))]
Contract.Message.IntegrationTests (3)
MessageContractCommon.4.1.0.cs (1)
60[ServiceContract]
MessageContractTests.cs (1)
90[ServiceContract]
TestTypes.4.4.0.cs (1)
17[ServiceContract]
Contract.Service.IntegrationTests (4)
ServiceKnownTypeTests.4.0.0.cs (4)
134[ServiceContract()] 142[ServiceContract()] 150[ServiceContract()] 159[ServiceContract()]
dotnet-svcutil.xmlserializer.IntegrationTests (1)
TestTypes.cs (1)
14[ServiceContract(ConfigurationName = "ISimpleSvcutilService")]
Microsoft.Svcutil.NamedPipeMetadataImporter (1)
IMetadataExchange.cs (1)
11[ServiceContract]
ScenarioTests.Common.Tests (53)
ServiceInterfaces.cs (53)
14[ServiceContract] 97[ServiceContract] 107[ServiceContract] 114[ServiceContract] 121[ServiceContract(ConfigurationName = "IWcfService")] 149[ServiceContract(ConfigurationName = "IWcfSoapService")] 173[ServiceContract(ConfigurationName = "IWcfService")] 181[System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IWcfService")] 201[System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IWcfService")] 222[ServiceContract] 234[System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IDescriptionTestsService")] 252[System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IDescriptionTestsService")] 275[ServiceContract(Namespace = "http://app.my.com/MyFeedback", ConfigurationName = "TFDFeedbackService.MyFeedbackSoap")] 282[ServiceContract] 292[ServiceContract] 302[ServiceContract] 309[ServiceContract( 326[ServiceContract(CallbackContract = typeof(IWcfDuplexServiceCallback))] 339[ServiceContract(CallbackContract = typeof(IWcfDuplexService_CallbackDebugBehavior_Callback))] 355[ServiceContract(CallbackContract = typeof(IWcfDuplexTaskReturnCallback))] 380[ServiceContract(CallbackContract = typeof(IWcfDuplexService_DataContract_Callback))] 395[ServiceContract(CallbackContract = typeof(IWcfDuplexService_Xml_Callback))] 408[ServiceContract(CallbackContract = typeof(IWcfDuplexService_CallbackConcurrencyMode_Callback))] 423[ServiceContract] 452[ServiceContract(CallbackContract = typeof(IPushCallback))] 506[ServiceContract] 515[ServiceContract] 524[ServiceContract] 533[ServiceContract] 542[ServiceContract] 552[ServiceContract] 559[ServiceContract] 567[ServiceContract(Namespace = "http://www.contoso.com/IXmlMessageContarctTestService")] 583[ServiceContract] 593[ServiceContract(ConfigurationName = "IWcfService")] 602[ServiceContract] 609[ServiceContract] 616[ServiceContract] 627[ServiceContract(SessionMode = SessionMode.Required)] 640[ServiceContract(SessionMode = SessionMode.Required)] 645[ServiceContract(CallbackContract = typeof(ISessionTestsDuplexCallback), SessionMode = SessionMode.Required)] 671[ServiceContract(SessionMode = SessionMode.Required)] 684[ServiceContract, XmlSerializerFormat] 702[ServiceContract(Namespace = "http://contoso.com/calc")] 731[ServiceContract(Namespace = "http://contoso.com/calc")] 760[ServiceContract(Namespace = "http://contoso.com/calc")] 789[ServiceContract] 800[ServiceContract] 811[ServiceContract] 822[ServiceContract] 874[ServiceContract] 883[ServiceContract] 890[ServiceContract(CallbackContract = typeof(IWcfReliableDuplexService))]
System.ServiceModel.Federation (1)
System\ServiceModel\Federation\IWSTrustChannelContract.cs (1)
14[ServiceContract]
System.ServiceModel.Http.Tests (1)
ServiceModel\HttpIdentityTests.cs (1)
35[ServiceContract]
System.ServiceModel.Primitives.Tests (14)
Channels\BehaviorExtensionTest.cs (2)
89[ServiceContract] 97[ServiceContract]
Channels\CustomChannelTest.cs (1)
732[ServiceContract]
Description\OperationBehaviorTest.cs (1)
126[ServiceContract]
Description\OperationContractAttributeTest.cs (2)
58[ServiceContract] 65[ServiceContract]
ServiceModel\ClientBaseTest.cs (3)
256[ServiceContract] 263[ServiceContract] 268[ServiceContract]
ServiceModel\DeliveryRequirementsTest.cs (3)
72[ServiceContract] 80[ServiceContract] 88[ServiceContract]
TestTypes.4.4.0.cs (2)
41[ServiceContract] 49[ServiceContract]
UnitTests.Common (9)
ServiceInterfaces.cs (9)
14[ServiceContract] 71[System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IWcfService")] 92[ServiceContract] 104[System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IDescriptionTestsService")] 122[System.ServiceModel.ServiceContractAttribute(ConfigurationName = "IDescriptionTestsService")] 145[ServiceContract(Namespace = "http://app.my.com/MyFeedback", ConfigurationName = "TFDFeedbackService.MyFeedbackSoap")] 152[ServiceContract( 169[ServiceContract(CallbackContract = typeof(IWcfDuplexServiceCallback))] 176[ServiceContract(CallbackContract = typeof(IWcfDuplexServiceCallback))]
20 references to ServiceContractAttribute
System.ServiceModel.Primitives (20)
System\ServiceModel\Description\ServiceReflector.cs (9)
415if (service.IsDefined(typeof(ServiceContractAttribute), false)) 438if (t.IsDefined(typeof(ServiceContractAttribute), false)) 455if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(service) != null) 468if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(t) != null) 475if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(service) != null) 625ServiceContractAttribute contractAttribute; 629static internal Type GetContractTypeAndAttribute(Type interfaceType, out ServiceContractAttribute contractAttribute) 631contractAttribute = GetSingleAttribute<ServiceContractAttribute>(interfaceType); 656contractAttribute = GetSingleAttribute<ServiceContractAttribute>(potentialContractRoot);
System\ServiceModel\Description\TypeLoader.cs (11)
69ServiceContractAttribute actualContractAttribute; 109if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(service) != null) 133if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(aParentType) == null) 214ServiceContractAttribute contractAttr = ServiceReflector.GetRequiredSingleAttribute<ServiceContractAttribute>(reflectionInfo.iface); 723internal static void EnsureSubcontract(ServiceContractAttribute svcContractAttr, Type contractType) 731ServiceContractAttribute inheritedContractAttr = ServiceReflector.GetRequiredSingleAttribute<ServiceContractAttribute>(inheritedContractType); 751private ContractDescription CreateContractDescription(ServiceContractAttribute contractAttr, Type contractType, Type serviceType, out ContractReflectionInfo reflectionInfo, object serviceImplementation) 783ServiceContractAttribute inheritedContractAttr = ServiceReflector.GetRequiredSingleAttribute<ServiceContractAttribute>(inheritedContractType);