7 references to ContractType
System.ServiceModel (7)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
165clientType.Name = NamingHelper.GetUniqueName(GetClientClassName(context.ContractType.Name), DoesMethodNameExist, context.Operations);
System\ServiceModel\Description\OperationContractGenerationContext.cs (1)
147get { return !(this.declaringType == contract.ContractType || this.declaringType == contract.DuplexCallbackType); }
System\ServiceModel\Description\ServiceContractGenerator.cs (5)
325CodeTypeDeclaration declaringType = isCallback ? context.DuplexCallbackType : context.ContractType; 399if (context.ContractType.Name != context.Contract.CodeName) 410serviceContractAttr.Arguments.Add(new CodeAttributeArgument("ConfigurationName", new CodePrimitiveExpression(NamespaceHelper.GetCodeTypeReference(context.Namespace, context.ContractType).BaseType))); 431context.ContractType.CustomAttributes.Add(serviceContractAttr); 496new UniqueCodeNamespaceScope(context.Namespace).AddUnique(channelType, context.ContractType.Name + Strings.ChannelTypeSuffix, Strings.ChannelTypeSuffix);