75 references to Name
dotnet-svcutil-lib (75)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DispatcherBuilder.cs (8)
122child = new ClientOperation(parent, operation.Name, operation.Messages[0].Action); 126child = new ClientOperation(parent, operation.Name, operation.Messages[0].Action, 152child = new DispatchOperation(parent, operation.Name, requestAction); 157child = new DispatchOperation(parent, operation.Name, requestAction, replyAction); 225ClientOperation proxyOperation = proxy.Operations[operation.Name]; 242if (dispatch.Operations.Contains(operation.Name)) 244dispatchOperation = dispatch.Operations[operation.Name]; 246if (dispatchOperation == null && dispatch.UnhandledDispatchOperation != null && dispatch.UnhandledDispatchOperation.Name == operation.Name)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (8)
361operation.Name, operationBinding.Binding.Name, GetUse(operationStyleAndUse), GetStyle(operationStyleAndUse), 409AddError(string.Format(SRServiceModel.SFxInconsistentWsdlOperationStyleInOperationMessages, operation.Name, inferredOperationStyle, style)); 548request.Body.WrapperName = operation.Name; 556response.Body.WrapperName = TypeLoader.GetBodyWrapperResponseName(operation.Name).EncodedName; 608TraceFaultCannotBeImported(fault.Name, description.Name, string.Format(SRServiceModel.SFxWsdlOperationFaultNeedsMessageAttribute2, fault.Name, fault.Operation.PortType.Name)); 617TraceFaultCannotBeImported(fault.Name, description.Name, SRServiceModel.UnsupportedWSDLOnlyOneMessage); 627TraceFaultCannotBeImported(fault.Name, description.Name, SRServiceModel.UnsupportedWSDLTheFault); 1887throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDataContractSerializerDoesNotSupportEncoded, operation.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationDescription.cs (1)
249throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new System.InvalidOperationException(string.Format(SRServiceModel.SFxOperationMustHaveOneOrTwoMessages, this.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationDescriptionCollection.cs (2)
19if (this[i].Name == name) 30if (this[i].Name == name)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (27)
471opDesc.Name, 481opDesc.Name, 492opDesc.Name, 777Collection<OperationDescription> existingOps = contractDescription.Operations.FindAll(op.Name); 784op.Name, inheritedContractDescription.Name, existingOp.DeclaringContract.Name))); 1599_syncOperation.Name))); 1615_syncOperation.Name))); 1632_syncOperation.Name))); 1647_syncOperation.Name))); 1661_syncOperation.Name, 1676_syncOperation.Name, 1691_syncOperation.Name, 1708_syncOperation.Name, 1739_syncOperation.Name))); 1754_syncOperation.Name))); 1768_syncOperation.Name))); 1781_syncOperation.Name, 1795_syncOperation.Name, 1809_syncOperation.Name, 1825_syncOperation.Name, 1857_taskOperation.Name))); 1873_taskOperation.Name))); 1888_taskOperation.Name))); 1902_taskOperation.Name, 1917_taskOperation.Name, 1932_taskOperation.Name, 1949_taskOperation.Name,
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (3)
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); 1088return operationDescription.Name;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (10)
268_keyBase = _keyBase + operation.Name; 344throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxKnownTypeNull, Operation.Name))); 354if (_request != null && this.IsRpc && this.Operation.IsValidateRpcWrapperName && !skipVerifyXsdElementName && _request.BodyMapping.XsdElementName != this.Operation.Name) 355throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[0].MessageName, _request.BodyMapping.XsdElementName, this.Operation.Name))); 359XmlName responseName = TypeLoader.GetBodyWrapperResponseName(this.Operation.Name); 361throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[1].MessageName, _reply.BodyMapping.XsdElementName, responseName.EncodedName))); 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))); 525throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxFaultTypeAnonymous, this.Operation.Name, fault.DetailType.FullName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
86throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxKnownTypeNull, description.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (5)
42_operationName = description.Name; 504throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDocEncodedNotSupported, operation.Name))); 518throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxTypedMessageCannotBeRpcLiteral, operation.Name))); 528throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxTypedOrUntypedMessageCannotBeMixedWithParameters, operation.Name))); 530throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxTypedOrUntypedMessageCannotBeMixedWithVoidInRpc, operation.Name)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (4)
49_operationMap.Add(operation.SyncMethod, operation.Name); 56_operationMap.Add(operation.BeginMethod, operation.Name); 57_operationMap.Add(operation.EndMethod, operation.Name); 65_operationMap.Add(operation.TaskMethod, operation.Name);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (6)
395string.Format(SRServiceModel.SFxErrorDeserializingReplyBodyMore, _operation.Name, xe.Message), xe)); 400string.Format(SRServiceModel.SFxErrorDeserializingReplyBodyMore, _operation.Name, fe.Message), fe)); 405string.Format(SRServiceModel.SFxErrorDeserializingReplyBodyMore, _operation.Name, se.Message), se)); 435string.Format(SRServiceModel.SFxErrorDeserializingRequestBodyMore, _operation.Name, xe.Message), 442string.Format(SRServiceModel.SFxErrorDeserializingRequestBodyMore, _operation.Name, fe.Message), 448string.Format(SRServiceModel.SFxErrorDeserializingRequestBodyMore, _operation.Name, se.Message),