27 references to GetUniqueName
System.ServiceModel (27)
System\ServiceModel\Description\ClientClassGenerator.cs (16)
165
clientType.Name = NamingHelper.
GetUniqueName
(GetClientClassName(context.ContractType.Name), DoesMethodNameExist, context.Operations);
339
param = new CodeParameterDeclarationExpression(field.Type, NamingHelper.
GetUniqueName
(field.Name, DoesParameterNameExist, helperMethod));
563
NamingHelper.
GetUniqueName
("Result", DoesMemberNameExist, argsType),
571
resultsField.Name = NamingHelper.
GetUniqueName
("results", DoesMemberNameExist, argsType);
577
argsType.Name = NamingHelper.
GetUniqueName
(GetOperationCompletedEventArgsTypeName(syncMethodName),
632
operationCompletedEvent.Name = NamingHelper.
GetUniqueName
(GetOperationCompletedEventName(syncMethodName),
645
beginOperationDelegate.Name = NamingHelper.
GetUniqueName
(GetBeginOperationDelegateName(syncMethodName),
658
onBeginOperationMethod.Name = NamingHelper.
GetUniqueName
(GetBeginOperationMethodName(syncMethodName),
663
inValuesParam.Name = NamingHelper.
GetUniqueName
("inValues", DoesParameterNameExist, beginMethod);
700
endOperationDelegate.Name = NamingHelper.
GetUniqueName
(GetEndOperationDelegateName(syncMethodName),
712
onEndOperationMethod.Name = NamingHelper.
GetUniqueName
(GetEndOperationMethodName(syncMethodName), DoesMethodNameExist, context.Operations);
745
retValDecl.Name = NamingHelper.
GetUniqueName
("retVal", DoesParameterNameExist, endMethod);
775
operationCompletedDelegate.Name = NamingHelper.
GetUniqueName
(GetOperationCompletedDelegateName(syncMethodName),
787
operationCompletedMethod.Name = NamingHelper.
GetUniqueName
(GetOperationCompletedMethodName(syncMethodName),
845
eventAsyncMethod.Name = NamingHelper.
GetUniqueName
(GetEventAsyncMethodName(syncMethodName),
862
string userStateParamName = NamingHelper.
GetUniqueName
("userState", DoesParameterNameExist, eventAsyncMethod);
System\ServiceModel\Description\ConfigWriter.cs (2)
45
channelElement.Name = NamingHelper.
GetUniqueName
(NamingHelper.CodeName(endpoint.Name), this.CheckIfChannelNameInUse, null);
69
string bindingName = NamingHelper.
GetUniqueName
(NamingHelper.CodeName(binding.Name), this.CheckIfBindingNameInUse, null);
System\ServiceModel\Description\MessageContractExporter.cs (1)
555
return NamingHelper.
GetUniqueName
(messageNameBase, DoesMessageNameExist, wsdl);
System\ServiceModel\Description\OperationGenerator.cs (1)
541
return NamingHelper.
GetUniqueName
(name, DoesParameterNameExist, parameters);
System\ServiceModel\Description\WsdlExporter.cs (6)
739
key = NamingHelper.
GetUniqueName
(keyBase, policyKeyIsUnique, null);
758
key = NamingHelper.
GetUniqueName
(keyBase, policyKeyIsUnique, null);
776
key = NamingHelper.
GetUniqueName
(keyBase, policyKeyIsUnique, null);
791
key = NamingHelper.
GetUniqueName
(keyBase, policyKeyIsUnique, null);
1051
string uniquifiedLocalName = NamingHelper.
GetUniqueName
(localName, WsdlBindingQNameExists(exporter, bindingWsdlNamespace), null);
1074
return NamingHelper.
GetUniqueName
(endpoint.Name, ServiceContainsPort(wsdlService), null);
System\ServiceModel\Description\WsdlHelper.cs (1)
117
string uniqueBindingName = NamingHelper.
GetUniqueName
(binding.Name, WsdlHelper.IsBindingNameUsed, singleWsdl.Bindings);