System\ServiceModel\Description\ClientClassGenerator.cs (16)
165clientType.Name = NamingHelper.GetUniqueName(GetClientClassName(context.ContractType.Name), DoesMethodNameExist, context.Operations);
339param = new CodeParameterDeclarationExpression(field.Type, NamingHelper.GetUniqueName(field.Name, DoesParameterNameExist, helperMethod));
563NamingHelper.GetUniqueName("Result", DoesMemberNameExist, argsType),
571resultsField.Name = NamingHelper.GetUniqueName("results", DoesMemberNameExist, argsType);
577argsType.Name = NamingHelper.GetUniqueName(GetOperationCompletedEventArgsTypeName(syncMethodName),
632operationCompletedEvent.Name = NamingHelper.GetUniqueName(GetOperationCompletedEventName(syncMethodName),
645beginOperationDelegate.Name = NamingHelper.GetUniqueName(GetBeginOperationDelegateName(syncMethodName),
658onBeginOperationMethod.Name = NamingHelper.GetUniqueName(GetBeginOperationMethodName(syncMethodName),
663inValuesParam.Name = NamingHelper.GetUniqueName("inValues", DoesParameterNameExist, beginMethod);
700endOperationDelegate.Name = NamingHelper.GetUniqueName(GetEndOperationDelegateName(syncMethodName),
712onEndOperationMethod.Name = NamingHelper.GetUniqueName(GetEndOperationMethodName(syncMethodName), DoesMethodNameExist, context.Operations);
745retValDecl.Name = NamingHelper.GetUniqueName("retVal", DoesParameterNameExist, endMethod);
775operationCompletedDelegate.Name = NamingHelper.GetUniqueName(GetOperationCompletedDelegateName(syncMethodName),
787operationCompletedMethod.Name = NamingHelper.GetUniqueName(GetOperationCompletedMethodName(syncMethodName),
845eventAsyncMethod.Name = NamingHelper.GetUniqueName(GetEventAsyncMethodName(syncMethodName),
862string userStateParamName = NamingHelper.GetUniqueName("userState", DoesParameterNameExist, eventAsyncMethod);
System\ServiceModel\Description\TypeLoader.cs (11)
183XmlQualifiedName contractName = NamingHelper.GetContractName(channelType, null, NamingHelper.MSNamespace);
198XmlQualifiedName contractName = NamingHelper.GetContractName(channelType, null, NamingHelper.MSNamespace);
693XmlQualifiedName contractName = NamingHelper.GetContractName(contractType, contractAttr.Name, contractAttr.Namespace);
818XmlName operationName = NamingHelper.GetOperationName(ServiceReflector.GetLogicalName(methodInfo, isAsync, isTask), opAttr.Name);
947string requestAction = NamingHelper.GetMessageAction(contractQname,
952string responseAction = NamingHelper.GetMessageAction(contractQname,
1052XmlName faultName = new XmlName(attr.Name ?? NamingHelper.TypeName(attr.DetailType) + FaultSuffix);
1053FaultDescription fault = new FaultDescription(NamingHelper.GetMessageAction(contractName, operationName.DecodedName + faultName.DecodedName, attr.Action, false/*isResponse*/));
1239messageDescription.MessageName = new XmlName(NamingHelper.TypeName(typedMessageType));
System\ServiceModel\Description\WsdlExporter.cs (11)
105ExportEndpoint(endpoint, new XmlQualifiedName(NamingHelper.DefaultServiceName, NamingHelper.DefaultNamespace), null);
721NamingHelper.DoesNameExist policyKeyIsUnique
739key = NamingHelper.GetUniqueName(keyBase, policyKeyIsUnique, null);
758key = NamingHelper.GetUniqueName(keyBase, policyKeyIsUnique, null);
776key = NamingHelper.GetUniqueName(keyBase, policyKeyIsUnique, null);
791key = NamingHelper.GetUniqueName(keyBase, policyKeyIsUnique, null);
1051string uniquifiedLocalName = NamingHelper.GetUniqueName(localName, WsdlBindingQNameExists(exporter, bindingWsdlNamespace), null);
1057static NamingHelper.DoesNameExist WsdlBindingQNameExists(WsdlExporter exporter, string bindingWsdlNamespace)
1074return NamingHelper.GetUniqueName(endpoint.Name, ServiceContainsPort(wsdlService), null);
1077static NamingHelper.DoesNameExist ServiceContainsPort(WsdlNS.Service service)