44 references to Name
dotnet-svcutil-lib (44)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
316
bool signed = messageSignedParts.IsHeaderIncluded(header.
Name
, header.Namespace);
317
bool encrypted = messageEncryptedParts.IsHeaderIncluded(header.
Name
, header.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (1)
172
ParameterModeException parameterModeException = new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_ElementIsNotNillable, part.
Name
, part.Namespace));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (6)
770
return (x.
Name
== y.
Name
&& x.Namespace == y.Namespace);
1669
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDataContractSerializerDoesNotSupportEncoded, part.
Name
)));
1700
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDataContractSerializerDoesNotSupportBareArray, part.
Name
)));
2044
XmlName memberName = new XmlName(part.
Name
, true /*isEncoded*/);
2060
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxDocEncodedNotSupported, part.
Name
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageHeaderDescriptionCollection.cs (1)
18
return new XmlQualifiedName(item.
Name
, item.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePartDescriptionCollection.cs (1)
19
return new XmlQualifiedName(item.
Name
, item.Namespace);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePropertyDescriptionCollection.cs (1)
17
return item.
Name
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (6)
744
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SfxNoTypeSpecifiedForParameter, setting.
Name
)));
757
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SfxUseTypedMessageForCustomAttributes, setting.
Name
, localAttributes[0].AttributeType.BaseType)));
855
if (setting.
Name
!= defaultName.EncodedName)
858
CustomAttributeHelper.CreateOrOverridePropertyDeclaration(decl, MessageContractMemberAttribute.NamePropertyName, setting.
Name
);
874
if (setting.
Name
!= defaultName.EncodedName)
879
CustomAttributeHelper.FindOrCreateAttributeDeclaration<MessageParameterAttribute>(attributes), MessageParameterAttribute.NamePropertyName, setting.
Name
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (2)
681
i = String.CompareOrdinal(p1.
Name
, p2.
Name
);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (6)
655
return string.Compare(a.
Name
, b.
Name
, StringComparison.Ordinal);
1229
if (partDescriptionCollection.Contains(new XmlQualifiedName(partDescription.
Name
, partDescription.Namespace)))
1230
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidMessageContractException(string.Format(SRServiceModel.SFxDuplicateMessageParts, partDescription.
Name
, partDescription.Namespace)));
1550
if (partDescriptionCollection.Contains(new XmlQualifiedName(partDescription.
Name
, partDescription.Namespace)))
1552
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidMessageContractException(string.Format(SRServiceModel.SFxDuplicateMessageParts, partDescription.
Name
, partDescription.Namespace)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (3)
418
if (headerName != header.
Name
)
421
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNameMismatchInMessageContract, message.MessageType, header.MemberInfo.Name, header.
Name
, headerName)));
423
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNameMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.
Name
, headerName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (8)
124
messageInfo.HeaderDescriptionTable.Add(headerDescription.
Name
, headerDescription.Namespace, headerDescription);
139
PartInfo partInfo = new PartInfo(part, AddToDictionary(part.
Name
), AddToDictionary(ns), _knownTypes, serializerFactory);
240
string.Format(SRServiceModel.SFxInvalidMessageBodyErrorSerializingParameter, part.Description.Namespace, part.Description.
Name
, sx.Message), sx));
328
XmlObjectSerializer serializerLocal = _serializerFactory.CreateSerializer(dataContractType, headerDescription.
Name
, headerDescription.Namespace, _knownTypes);
424
string.Format(SRServiceModel.SFxInvalidMessageBodyErrorDeserializingParameter, part.Description.Namespace, part.Description.
Name
), e));
429
string.Format(SRServiceModel.SFxInvalidMessageBodyErrorDeserializingParameter, part.Description.Namespace, part.Description.
Name
), e));
436
part.Description.Namespace, part.Description.
Name
, e.Message),
444
part.Description.Namespace, part.Description.
Name
, e.Message),
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\OperationFormatter.cs (3)
448
properties.Add(propertyDescription.
Name
, parameter);
467
if (properties.ContainsKey(propertyDescription.
Name
))
469
parameters[propertyDescription.Index] = properties[propertyDescription.
Name
];
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (2)
241
AddToDictionary(dictionary, part.
Name
),
297
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxMessagePartDescriptionMissingType, bodyDescription.
Name
, bodyDescription.Namespace)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
44
_partName = streamPart.
Name
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
334
XmlQualifiedName headerName = new XmlQualifiedName(header.
Name
, header.Namespace);