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