74 references to Name
System.ServiceModel.Primitives (66)
System\ServiceModel\Description\DispatcherBuilder.cs (8)
119child = new ClientOperation(parent, operation.Name, operation.Messages[0].Action); 123child = new ClientOperation(parent, operation.Name, operation.Messages[0].Action, 150child = new DispatchOperation(parent, operation.Name, requestAction); 155child = new DispatchOperation(parent, operation.Name, requestAction, replyAction); 224ClientOperation proxyOperation = proxy.Operations[operation.Name]; 241if (dispatch.Operations.Contains(operation.Name)) 243dispatchOperation = dispatch.Operations[operation.Name]; 245if (dispatchOperation == null && dispatch.UnhandledDispatchOperation != null && dispatch.UnhandledDispatchOperation.Name == operation.Name)
System\ServiceModel\Description\OperationDescription.cs (1)
178throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxOperationMustHaveOneOrTwoMessages, Name)));
System\ServiceModel\Description\OperationDescriptionCollection.cs (2)
20if (this[i].Name == name) 33if (this[i].Name == name)
System\ServiceModel\Description\TypeLoader.cs (27)
484opDesc.Name, 494opDesc.Name, 505opDesc.Name, 790Collection<OperationDescription> existingOps = contractDescription.Operations.FindAll(op.Name); 797op.Name, inheritedContractDescription.Name, existingOp.DeclaringContract.Name))); 1656_syncOperation.Name))); 1672_syncOperation.Name))); 1689_syncOperation.Name))); 1704_syncOperation.Name))); 1718_syncOperation.Name, 1733_syncOperation.Name, 1748_syncOperation.Name, 1765_syncOperation.Name, 1796_syncOperation.Name))); 1811_syncOperation.Name))); 1825_syncOperation.Name))); 1838_syncOperation.Name, 1852_syncOperation.Name, 1866_syncOperation.Name, 1882_syncOperation.Name, 1914_taskOperation.Name))); 1930_taskOperation.Name))); 1945_taskOperation.Name))); 1959_taskOperation.Name, 1974_taskOperation.Name, 1989_taskOperation.Name, 2006_taskOperation.Name,
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (11)
303_keyBase = _keyBase + operation.Name; 387throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxKnownTypeNull, Operation.Name))); 397if (_request != null && IsRpc && Operation.IsValidateRpcWrapperName && !skipVerifyXsdElementName && _request.BodyMapping.XsdElementName != Operation.Name) 399throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxRpcMessageBodyPartNameInvalid, Operation.Name, Operation.Messages[0].MessageName, _request.BodyMapping.XsdElementName, Operation.Name))); 405XmlName responseName = TypeLoader.GetBodyWrapperResponseName(Operation.Name); 408throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxRpcMessageBodyPartNameInvalid, Operation.Name, Operation.Messages[1].MessageName, _reply.BodyMapping.XsdElementName, responseName.EncodedName))); 503throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxHeaderNameMismatchInOperation, Operation.Name, Operation.DeclaringContract.Name, Operation.DeclaringContract.Namespace, header.Name, headerName))); 514throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxHeaderNamespaceMismatchInOperation, Operation.Name, Operation.DeclaringContract.Name, Operation.DeclaringContract.Namespace, header.Namespace, headerNs))); 578throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxRpcMessageMustHaveASingleBody, Operation.Name, message.MessageName))); 692throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxFaultTypeAnonymous, Operation.Name, fault.DetailType.FullName)));
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
93throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxKnownTypeNull, description.Name)));
System\ServiceModel\Dispatcher\OperationFormatter.cs (5)
43_operationName = description.Name; 528throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxDocEncodedNotSupported, operation.Name))); 543throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxTypedMessageCannotBeRpcLiteral, operation.Name))); 559throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxTypedOrUntypedMessageCannotBeMixedWithParameters, operation.Name))); 564throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxTypedOrUntypedMessageCannotBeMixedWithVoidInRpc, operation.Name)));
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (4)
53_operationMap.Add(operation.SyncMethod.MethodHandle.Value, operation.Name); 61_operationMap.Add(operation.BeginMethod.MethodHandle.Value, operation.Name); 62_operationMap.Add(operation.EndMethod.MethodHandle.Value, operation.Name); 70_operationMap.Add(operation.TaskMethod.MethodHandle.Value, operation.Name);
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (6)
506SRP.Format(SRP.SFxErrorDeserializingReplyBodyMore, _operation.Name, xe.Message), xe)); 511SRP.Format(SRP.SFxErrorDeserializingReplyBodyMore, _operation.Name, fe.Message), fe)); 516SRP.Format(SRP.SFxErrorDeserializingReplyBodyMore, _operation.Name, se.Message), se)); 555SRP.Format(SRP.SFxErrorDeserializingRequestBodyMore, _operation.Name, xe.Message), 562SRP.Format(SRP.SFxErrorDeserializingRequestBodyMore, _operation.Name, fe.Message), 568SRP.Format(SRP.SFxErrorDeserializingRequestBodyMore, _operation.Name, se.Message),
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
33throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SRP.Format(SRP.SFxDocEncodedNotSupported, description.Name)));
System.ServiceModel.Primitives.Tests (5)
Description\ContractDescriptionTest.cs (2)
215if(operation.Name.Equals("Echo")) 232if (operation.Name.Equals("Echo"))
Description\OperationBehaviorTest.cs (3)
63if (String.Equals(description.Name, nameof(IXmlTestingType.XmlSerializerFormatAttribute_NotSet_One))) 82if (String.Equals(description.Name, nameof(IXmlTestingType.XmlSerializerFormatAttribute_Set_StyleSetTo_Rpc)) || (String.Equals(description.Name, nameof(IXmlTestingType.XmlSerializerFormatAttribute_NotSet_Two))))
UnitTests.Common (3)
TestHelpers.cs (3)
149if (!op.Name.Equals(expectedOp.Name)) 152prefix, expectedOp.Name, op.Name)); 179prefix, messageData.Action, op.Name));