3 instantiations of ServiceContractAttribute
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\IMetadataExchange.cs (1)
10[ServiceContract]
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustDec2005.cs (1)
176[ServiceContract]
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustFeb2005.cs (1)
225[ServiceContract]
24 references to ServiceContractAttribute
dotnet-svcutil-lib (24)
CodeDomFixup\CodeDomVisitors\AttributeFixer.cs (1)
63if (CodeDomHelpers.MatchType(attr.AttributeType, typeof(ServiceContractAttribute)))
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
500if (CodeDomHelpers.MatchType(attr.AttributeType, typeof(ServiceContractAttribute)))
CodeDomFixup\CodeDomVisitors\ServiceContractVisitor.cs (1)
9internal abstract class ServiceContractVisitor : TypeWithAttributeVisitor<ServiceContractAttribute> { }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (1)
343CodeAttributeDeclaration serviceContractAttr = new CodeAttributeDeclaration(context.ServiceContractGenerator.GetCodeTypeReference(typeof(ServiceContractAttribute)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (9)
378if (service.IsDefined(typeof(ServiceContractAttribute), false)) 401if (t.IsDefined(typeof(ServiceContractAttribute), false)) 418if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(service) != null) 431if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(t) != null) 438if (ServiceReflector.GetSingleAttribute<ServiceContractAttribute>(service) != null) 588ServiceContractAttribute contractAttribute; 592static internal Type GetContractTypeAndAttribute(Type interfaceType, out ServiceContractAttribute contractAttribute) 594contractAttribute = GetSingleAttribute<ServiceContractAttribute>(interfaceType); 619contractAttribute = GetSingleAttribute<ServiceContractAttribute>(potentialContractRoot);
FrameworkFork\System.ServiceModel\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); 710internal static void EnsureSubcontract(ServiceContractAttribute svcContractAttr, Type contractType) 718ServiceContractAttribute inheritedContractAttr = ServiceReflector.GetRequiredSingleAttribute<ServiceContractAttribute>(inheritedContractType); 738private ContractDescription CreateContractDescription(ServiceContractAttribute contractAttr, Type contractType, Type serviceType, out ContractReflectionInfo reflectionInfo, object serviceImplementation) 770ServiceContractAttribute inheritedContractAttr = ServiceReflector.GetRequiredSingleAttribute<ServiceContractAttribute>(inheritedContractType);