1 write to Name
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (1)
37this.Name = name;
42 references to Name
dotnet-svcutil-lib (42)
CodeDomFixup\ConfigToCode.cs (1)
37if (contractName.EndsWith(endpoint.Contract.Name, StringComparison.Ordinal) || contractName.EndsWith(UniqueCodeIdentifierScope.MakeValid(endpoint.Contract.CodeName, endpoint.Contract.CodeName), StringComparison.Ordinal))
CodeDomFixup\NoSoapEncodingFixup.cs (1)
30MetadataConversionError warning = new MetadataConversionError(string.Format(CultureInfo.InvariantCulture, SR.ErrIncompatibleContractSoapEncodingFormat, contract.Name), isWarning: true);
FrameworkFork\System.ServiceModel\System\ServiceModel\CallbackBehaviorAttribute.cs (1)
44string.Format(SRServiceModel.SFxCallbackBehaviorAttributeOnlyOnDuplex, serviceEndpoint.Contract.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\ChannelFactory.cs (1)
554throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxCreateNonDuplexChannel1, this.Endpoint.Contract.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (4)
169throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.CannotImportProtectionLevelForContract, contract.Name, contract.Namespace))); 225string contractAssociationName = String.Format("{0}:{1}:{2}", ContractProtectionLevelKey, policyContext.Contract.Name, policyContext.Contract.Namespace); 373throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.CannotImportProtectionLevelForContract, policyContext.Contract.Name, policyContext.Contract.Namespace))); 401throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.CannotImportProtectionLevelForContract, policyContext.Contract.Name, policyContext.Contract.Namespace)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
529string.Format(SRServiceModel.HttpTransportCannotHaveMultipleAuthenticationSchemes, policyContext.Contract.Namespace, policyContext.Contract.Name))); 555policyContext.Contract.Name,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (4)
208if (string.IsNullOrEmpty(this.Name)) 221string.Format(SRServiceModel.SFxContractHasZeroOperations, this.Name))); 234string.Format(SRServiceModel.ContractIsNotSelfConsistentItHasOneOrMore2, this.Name))); 240string.Format(SRServiceModel.SFxContractHasZeroInitiatingOperations, this.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (1)
22ClientRuntime clientRuntime = new ClientRuntime(contractDescription.Name, contractDescription.Namespace);
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;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpoint.cs (3)
105return String.Format(CultureInfo.InvariantCulture, "{0}_{1}", new XmlName(Binding.Name).EncodedName, Contract.Name); 109return Contract.Name; 196this.Binding.EnsureInvariants(this.Contract.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceEndpointCollection.cs (3)
43if (endpoint != null && endpoint.Contract.Name == contractName.Name && endpoint.Contract.Namespace == contractName.Namespace) 89if (endpoint != null && endpoint.Contract.Name == contractName.Name && 150if (endpoint != null && endpoint.Contract.Name == contractName.Name && endpoint.Contract.Namespace == contractName.Namespace)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceReflector.cs (1)
105XmlQualifiedName contractQname = new XmlQualifiedName(contract.Name, contract.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (3)
784op.Name, inheritedContractDescription.Name, existingOp.DeclaringContract.Name))); 970XmlQualifiedName contractQname = new XmlQualifiedName(declaringContract.Name, declaringContract.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (7)
56string warningMsg = isWildcardAction ? string.Format(SRServiceModel.WarnSkippingOpertationWithWildcardAction, contract.Name, contract.Namespace, operation.Name) 57: string.Format(SRServiceModel.WarnSkippingOpertationWithSessionOpenNotificationEnabled, "Action", OperationDescription.SessionOpenedAction, contract.Name, contract.Namespace, operation.Name); 229Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.WarnDuplicateBindingQNameNameOnExport, endpoint.Binding.Name, endpoint.Binding.Namespace, endpoint.Contract.Name), true /*isWarning*/)); 262throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(string.Format(SRServiceModel.DuplicateContractQNameNameOnExport, contract.Name, contract.Namespace))); 1038return new XmlQualifiedName(contract.Name, contract.Namespace); 1202string contractIdentifier = new XmlQualifiedName(contract.Name, contract.Namespace).ToString(); 1216endpoint.Contract.Name,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
989throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.UnableToLocateOperation2, wsdlOperationBinding.Name, contract.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (4)
266_keyBase = operation.DeclaringContract.Name + "," + operation.DeclaringContract.Namespace + ":"; 302get { return this.Operation.DeclaringContract.Name; } 423throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNameMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Name, headerName))); 430throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNamespaceMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Namespace, headerNs)));
FrameworkFork\System.ServiceModel\System\ServiceModel\DuplexChannelFactory.cs (1)
230throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxCreateDuplexChannel1, this.Endpoint.Contract.Name)));
ImportModule.cs (1)
191if (type.Name == contract.Name)
Metadata\ServiceDescriptor.cs (1)
379this.Name = contract.Name;