62 references to NamingHelper
dotnet-svcutil-lib (62)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Binding.cs (3)
18internal const string DefaultNamespace = NamingHelper.DefaultNamespace; 39NamingHelper.CheckUriParameter(ns, "ns"); 94NamingHelper.CheckUriProperty(value, "Namespace");
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageHeader.cs (1)
365NamingHelper.CheckUriParameter(ns, "ns");
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\ContractDescription.cs (3)
39NamingHelper.CheckUriParameter(ns, "ns"); 42_ns = ns ?? NamingHelper.DefaultNamespace; // ns can be "" 94NamingHelper.CheckUriProperty(value, "Namespace");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (1)
2003string xmlName = NamingHelper.XmlName(member.MemberName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePartDescription.cs (1)
41NamingHelper.CheckUriParameter(ns, "ns");
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (2)
539return NamingHelper.GetUniqueName(name, DoesParameterNameExist, parameters); 783new CodePrimitiveExpression(NamingHelper.CodeName(message.Body.WrapperName))));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (2)
349string friendlyName = NamingHelper.XmlName(context.Contract.CodeName) == context.Contract.Name ? context.Contract.CodeName : context.Contract.Name; 353if (NamingHelper.DefaultNamespace != context.Contract.Namespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (3)
251_encoded = NamingHelper.XmlName(_decoded); 261_decoded = NamingHelper.CodeName(_encoded); 817return NamingHelper.GetOperationName(GetLogicalName(method), operationAttribute.Name);
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)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (2)
559binding.Name = NamingHelper.CodeName(bindingQName.Name); 1310private const string workaroundNS = NamingHelper.DefaultNamespace + "temporaryworkaround";
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultCode.cs (1)
39NamingHelper.CheckUriParameter(ns, "ns");
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultContractAttribute.cs (1)
65NamingHelper.CheckUriProperty(value, "Namespace");
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageContractAttribute.cs (1)
73NamingHelper.CheckUriProperty(value, "WrapperNamespace");
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageContractMemberAttribute.cs (1)
33NamingHelper.CheckUriProperty(value, "Namespace");
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceContractAttribute.cs (1)
64NamingHelper.CheckUriProperty(value, "Namespace");