5 references to AddUnique
System.ServiceModel (5)
System\ServiceModel\Description\OperationGenerator.cs (2)
315
typedMessageRef = namespaceScope.
AddUnique
(typedMessageDecl, messageName, defaultName);
593
CodeTypeReference wrapperTypeRef = namespaceScope.
AddUnique
(wrapperTypeDecl, typeName + "Body", "Body");
System\ServiceModel\Description\ServiceContractGenerator.cs (3)
303
CodeTypeReference contractReference = codeNamespaceScope.
AddUnique
(contract, contractDescription.CodeName, Strings.DefaultContractName);
310
callbackContractReference = codeNamespaceScope.
AddUnique
(callbackContract, contractDescription.CodeName + Strings.CallbackTypeSuffix, Strings.DefaultContractName);
496
new UniqueCodeNamespaceScope(context.Namespace).
AddUnique
(channelType, context.ContractType.Name + Strings.ChannelTypeSuffix, Strings.ChannelTypeSuffix);