7 references to ContractType
dotnet-svcutil-lib (7)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (1)
165clientType.Name = NamingHelper.GetUniqueName(GetClientClassName(context.ContractType.Name), DoesMethodNameExist, context.Operations);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationContractGenerationContext.cs (1)
147get { return !(_declaringType == _contract.ContractType || _declaringType == _contract.DuplexCallbackType); }
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (5)
271CodeTypeDeclaration declaringType = isCallback ? _context.DuplexCallbackType : _context.ContractType; 345if (context.ContractType.Name != context.Contract.CodeName) 356serviceContractAttr.Arguments.Add(new CodeAttributeArgument("ConfigurationName", new CodePrimitiveExpression(NamespaceHelper.GetCodeTypeReference(context.Namespace, context.ContractType).BaseType))); 377context.ContractType.CustomAttributes.Add(serviceContractAttr); 442new UniqueCodeNamespaceScope(context.Namespace).AddUnique(channelType, context.ContractType.Name + Strings.ChannelTypeSuffix, Strings.ChannelTypeSuffix);