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