FrameworkFork\System.ServiceModel\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),
570resultsField.Name = NamingHelper.GetUniqueName("results", DoesMemberNameExist, argsType);
576argsType.Name = NamingHelper.GetUniqueName(GetOperationCompletedEventArgsTypeName(syncMethodName),
631operationCompletedEvent.Name = NamingHelper.GetUniqueName(GetOperationCompletedEventName(syncMethodName),
644beginOperationDelegate.Name = NamingHelper.GetUniqueName(GetBeginOperationDelegateName(syncMethodName),
657onBeginOperationMethod.Name = NamingHelper.GetUniqueName(GetBeginOperationMethodName(syncMethodName),
662inValuesParam.Name = NamingHelper.GetUniqueName("inValues", DoesParameterNameExist, beginMethod);
699endOperationDelegate.Name = NamingHelper.GetUniqueName(GetEndOperationDelegateName(syncMethodName),
711onEndOperationMethod.Name = NamingHelper.GetUniqueName(GetEndOperationMethodName(syncMethodName), DoesMethodNameExist, context.Operations);
744retValDecl.Name = NamingHelper.GetUniqueName("retVal", DoesParameterNameExist, endMethod);
774operationCompletedDelegate.Name = NamingHelper.GetUniqueName(GetOperationCompletedDelegateName(syncMethodName),
786operationCompletedMethod.Name = NamingHelper.GetUniqueName(GetOperationCompletedMethodName(syncMethodName),
844eventAsyncMethod.Name = NamingHelper.GetUniqueName(GetEventAsyncMethodName(syncMethodName),
861string userStateParamName = NamingHelper.GetUniqueName("userState", DoesParameterNameExist, eventAsyncMethod);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (12)
183XmlQualifiedName contractName = NamingHelper.GetContractName(channelType, null, NamingHelper.MSNamespace);
198XmlQualifiedName contractName = NamingHelper.GetContractName(channelType, null, NamingHelper.MSNamespace);
661Fx.Assert(NamingHelper.IsValidNCName(operationName), "operationName value has to be a valid NCName.");
742XmlQualifiedName contractName = NamingHelper.GetContractName(contractType, contractAttr.Name, contractAttr.Namespace);
867XmlName operationName = NamingHelper.GetOperationName(ServiceReflector.GetLogicalName(methodInfo, isAsync, isTask), opAttr.Name);
995string requestAction = NamingHelper.GetMessageAction(contractQname,
1000string responseAction = NamingHelper.GetMessageAction(contractQname,
1100XmlName faultName = new XmlName(attr.Name ?? NamingHelper.TypeName(attr.DetailType) + FaultSuffix);
1101FaultDescription fault = new FaultDescription(NamingHelper.GetMessageAction(contractName, operationName.DecodedName + faultName.DecodedName, attr.Action, false/*isResponse*/));
1285messageDescription.MessageName = new XmlName(NamingHelper.TypeName(typedMessageType));
FrameworkFork\System.ServiceModel\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);
1049string uniquifiedLocalName = NamingHelper.GetUniqueName(localName, WsdlBindingQNameExists(exporter, bindingWsdlNamespace), null);
1055private static NamingHelper.DoesNameExist WsdlBindingQNameExists(WsdlExporter exporter, string bindingWsdlNamespace)
1072return NamingHelper.GetUniqueName(endpoint.Name, ServiceContainsPort(wsdlService), null);
1075private static NamingHelper.DoesNameExist ServiceContainsPort(WsdlNS.Service service)