35 writes to Name
System.Runtime.Serialization (7)
System\Runtime\Serialization\SchemaExporter.cs (7)
128
type.
Name
= classDataContract.StableName.Name;
363
type.
Name
= collectionDataContract.StableName.Name;
423
type.
Name
= enumDataContract.StableName.Name;
462
type.
Name
= dataContract.StableName.Name;
717
defaultXmlType.
Name
= localName;
778
type.
Name
= localName;
793
type.
Name
= localName;
System.ServiceModel (3)
System\ServiceModel\Description\MessageContractExporter.cs (2)
172
genericMessageType.
Name
= DataContractSerializerMessageContractImporter.GenericMessageTypeName.Name;
197
streamBodyType.
Name
= DataContractSerializerMessageContractImporter.StreamBodyTypeName.Name;
System\ServiceModel\Dispatcher\XPathMessageFilter.cs (1)
116
outerType.
Name
= OuterTypeName;
System.ServiceModel.Discovery (7)
System\ServiceModel\Discovery\SchemaUtility.cs (7)
225
appSequenceType.
Name
= ProtocolStrings.SchemaNames.AppSequenceType;
287
resolveType.
Name
= ProtocolStrings.SchemaNames.ResolveType;
322
probeMatchType.
Name
= ProtocolStrings.SchemaNames.ProbeMatchType;
382
probeType.
Name
= ProtocolStrings.SchemaNames.ProbeType;
425
qNameListType.
Name
= ProtocolStrings.SchemaNames.QNameListType;
479
scopesType.
Name
= ProtocolStrings.SchemaNames.ScopesType;
525
uriListType.
Name
= ProtocolStrings.SchemaNames.UriListType;
System.Web.Services (3)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
100
type.
Name
= typeName;
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
7466
o.
@Name
= Reader.Value;
9150
o.
@Name
= Reader.Value;
System.Xml (15)
System\Xml\Schema\XmlSchemaType.cs (1)
302
set {
Name
= value; }
System\Xml\Schema\XsdBuilder.cs (2)
1388
builder.simpleType.
Name
=value;
1515
builder.complexType.
Name
= value;
System\Xml\Serialization\SoapSchemaExporter.cs (4)
203
type.
Name
= mapping.TypeName;
283
type.
Name
= mapping.TypeName;
309
type.
Name
= mapping.TypeName;
355
dataType.
Name
= mapping.TypeName;
System\Xml\Serialization\Types.cs (2)
582
dataType.
Name
= dataTypeName;
592
dataType.
Name
= dataTypeName;
System\Xml\Serialization\XmlSchemaExporter.cs (6)
62
type.
Name
= xmlMembersMapping.Accessor.Name;
159
type.
Name
= name;
201
type.
Name
= name;
556
type.
Name
= mapping.TypeName;
873
type.
Name
= mapping.TypeName;
1012
dataType.
Name
= mapping.TypeName;
127 references to Name
System.Data (5)
fx\src\data\System\Data\SimpleType.cs (2)
51
name = node.
Name
;
119
baseType = content.BaseType.
Name
;
fx\src\data\System\Data\XMLSchema.cs (3)
879
throw ExceptionBuilder.CircularComplexType(ct.
Name
);
2067
if (((XmlSchemaSimpleType)typeNode).
Name
!= null && ((XmlSchemaSimpleType)typeNode).
Name
.Length != 0 && ((XmlSchemaSimpleType)typeNode).QualifiedName.Namespace != Keywords.XSDNS) {
System.Runtime.Serialization (12)
System\Runtime\Serialization\SchemaExporter.cs (2)
571
qname = new XmlQualifiedName(((XmlSchemaType)item).
Name
, schema.TargetNamespace);
660
string typeName = providerXsdType.
Name
;
System\Runtime\Serialization\SchemaHelper.cs (1)
54
if (schemaType != null && schemaType.
Name
== typeQName.Name)
System\Runtime\Serialization\SchemaImporter.cs (9)
260
XmlQualifiedName currentTypeName = new XmlQualifiedName(schemaType.
Name
, schema.TargetNamespace);
511
|| (string.IsNullOrEmpty(type.
Name
) && dataContractSet.TryGetReferencedType(ImportActualType(type.Annotation, typeName, typeName), dataContract, out referencedType)))
1301
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationAttributeNotFound, type.
Name
, Globals.GenericNameAttribute)));
1305
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationAttributeNotFound, type.
Name
, Globals.GenericNamespaceAttribute)));
1310
GenericInfo genInfo = new GenericInfo(new XmlQualifiedName(name, ns), type.
Name
);
1318
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationHasInvalidElement, argumentElement.LocalName, argumentElement.NamespaceURI, type.
Name
)));
1324
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationHasInvalidAttributeValue, argumentElement.LocalName, argumentElement.NamespaceURI, type.
Name
, nestedLevelAttribute.Value, nestedLevelAttribute.LocalName, Globals.TypeOfInt.Name)));
1327
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationForNestedLevelMustBeIncreasing, argumentElement.LocalName, argumentElement.NamespaceURI, type.
Name
)));
1338
throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericAnnotationHasInvalidAttributeValue, typeElement.LocalName, typeElement.NamespaceURI, type.
Name
, typeNestedLevelsAttribute.Value, typeNestedLevelsAttribute.LocalName, Globals.TypeOfInt.Name)));
System.ServiceModel (2)
System\ServiceModel\Description\SchemaHelper.cs (2)
59
XmlSchemaType existingType = (XmlSchemaType)schema.SchemaTypes[new XmlQualifiedName(type.
Name
, schema.TargetNamespace)];
65
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxConflictingGlobalType, type.
Name
, schema.TargetNamespace)));
System.Web.Extensions (4)
Script\Services\WebServiceTypeData.cs (4)
214
&& !(schemaType.
Name
== typeData.TypeName && schemaTargetNamespace == typeData.TypeNamespace)
215
&& !String.IsNullOrEmpty(schemaType.
Name
)) {
219
knownTypeData = ImportEnum(XmlConvert.DecodeName(schemaType.
Name
), schemaTargetNamespace, schemaType.QualifiedName, simpleTypeRestriction, schemaType.Annotation);
225
knownTypeData = new WebServiceTypeData(XmlConvert.DecodeName(schemaType.
Name
), schemaTargetNamespace);
System.Web.Services (6)
System\Web\Services\Description\HttpProtocolImporter.cs (1)
113
if (type.ContentModel.Content == null) throw new ArgumentException(Res.GetString(Res.Missing2, type.
Name
, type.ContentModel.GetType().Name), "part");
System\Web\Services\Description\SchemaCompiler.cs (3)
109
item = Res.GetString(Res.XmlSchemaNamedItem, ns, o.GetType() == typeof(XmlSchemaSimpleType) ? "simpleType" : "complexType", ((XmlSchemaType)o).
Name
, details);
149
if (type.
Name
!= null && type.
Name
.Length != 0) {
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
2476
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
3128
WriteAttribute(@"name", @"", ((global::System.String)o.
@Name
));
System.Xml (98)
System\Xml\Schema\Preprocessor.cs (6)
1252
if (simpleType.
Name
!= null) {
1257
if (simpleType.
Name
!= null) {
1259
simpleType.SetQualifiedName(new XmlQualifiedName(simpleType.
Name
, this.targetNamespace));
1362
if (complexType.
Name
!= null) {
1367
if (complexType.
Name
!= null) {
1369
complexType.SetQualifiedName(new XmlQualifiedName(complexType.
Name
, this.targetNamespace));
System\Xml\Schema\SchemaCollectionpreProcessor.cs (6)
940
if (simpleType.
Name
!= null) {
945
if (simpleType.
Name
!= null) {
947
simpleType.SetQualifiedName(new XmlQualifiedName(simpleType.
Name
, this.targetNamespace));
1048
if (complexType.
Name
!= null) {
1053
if (complexType.
Name
!= null) {
1055
complexType.SetQualifiedName(new XmlQualifiedName(complexType.
Name
, this.targetNamespace));
System\Xml\Schema\XmlSchemaType.cs (1)
301
get { return
Name
; }
System\Xml\Serialization\SchemaObjectWriter.cs (2)
464
WriteAttribute(@"name", @"", ((System.String)o.
@Name
));
669
WriteAttribute(@"name", @"", ((System.String)o.
@Name
));
System\Xml\Serialization\SoapCodeExporter.cs (1)
199
attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(typeDesc.DataType.
Name
)));
System\Xml\Serialization\SoapReflectionImporter.cs (5)
457
itemTypeName = itemTypeMapping.TypeDesc.DataType.
Name
;
516
mapping.TypeName = mapping.TypeDesc.DataType.
Name
;
704
if (typeDesc.IsPrimitive && typeDesc.DataType != null && typeDesc.DataType.
Name
!= null && typeDesc.DataType.
Name
.Length > 0)
705
return typeDesc.DataType.
Name
;
System\Xml\Serialization\SoapSchemaExporter.cs (5)
94
if ( type != null && type.
Name
== newTypeName)
183
return new XmlQualifiedName(mapping.TypeDesc.DataType.
Name
, UrtTypes.Namespace);
187
return new XmlQualifiedName(mapping.TypeDesc.DataType.
Name
, XmlSchema.Namespace);
301
return new XmlQualifiedName(type.
Name
, mapping.Namespace);
317
return new XmlQualifiedName(type.
Name
, mapping.Namespace);
System\Xml\Serialization\SoapSchemaImporter.cs (19)
249
throw new NotSupportedException(Res.GetString(Res.XmlUnsupportedRedefine, type.
Name
, typeNs));
271
if (type.
Name
== null) {
293
string typeName = GenerateUniqueTypeName(Accessor.UnescapeName(type.
Name
));
300
structMapping.TypeName = type.
Name
;
310
ImportDerivedTypes(new XmlQualifiedName(type.
Name
, typeNs));
316
throw new InvalidOperationException(Res.GetString(Res.XmlInvalidAnyAttributeUse, type.
Name
, type.QualifiedName.Namespace));
323
throw new InvalidOperationException(Res.GetString(Res.XmlSoapInvalidAttributeUse, type.
Name
, type.QualifiedName.Namespace));
327
if (attr.Use != XmlSchemaUse.Prohibited) throw new InvalidOperationException(Res.GetString(Res.XmlSoapInvalidAttributeUse, type.
Name
, type.QualifiedName.Namespace));
400
if (type.
Name
== Soap.Array && ns == Soap.Encoding) {
451
mapping.TypeName = td.DataType.
Name
;
540
mapping.TypeName = mapping.TypeDesc.DataType.
Name
;
585
mapping.TypeName = mapping.TypeDesc.DataType.
Name
;
598
mapping.TypeName = sourceTypeDesc.DataType.
Name
;
605
if (dataType.
Name
!= null && dataType.
Name
.Length != 0) {
606
typeDesc = Scope.GetTypeDesc(dataType.
Name
, ns);
610
mapping.TypeName = typeDesc.DataType.
Name
;
617
if (dataType.
Name
!= null && dataType.
Name
.Length != 0) {
System\Xml\Serialization\XmlCodeExporter.cs (3)
182
attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(typeMapping.TypeDesc.DataType.
Name
)));
645
ExportText(metadata, sameType ? null : mapping.TypeDesc, mapping.TypeDesc.IsAmbiguousDataType ? mapping.TypeDesc.DataType.
Name
: null);
800
attribute.Arguments.Add(new CodeAttributeArgument("DataType", new CodePrimitiveExpression(dataTypeDesc.DataType.
Name
)));
System\Xml\Serialization\XmlReflectionImporter.cs (6)
391
string xsdTypeName = valueTypeDesc.DataType == null ? valueTypeDesc.Name : valueTypeDesc.DataType.
Name
;
838
if (typeDesc.IsPrimitive && typeDesc.DataType != null && typeDesc.DataType.
Name
!= null && typeDesc.DataType.
Name
.Length > 0)
839
return typeDesc.DataType.
Name
;
908
name = itemTypeMapping.TypeDesc.DataType.
Name
;
1028
mapping.TypeName = mapping.TypeDesc.DataType.
Name
;
System\Xml\Serialization\XmlSchemaExporter.cs (9)
61
if (type != null && type.
Name
!= null && type.
Name
.Length > 0) {
119
if (type.
Name
== name)
253
if ( type != null && type.
Name
== newTypeName)
390
return new XmlQualifiedName(mapping.TypeDesc.DataType.
Name
, UrtTypes.Namespace);
528
qname = new XmlQualifiedName(type.
Name
, mapping.Namespace);
532
qname = new XmlQualifiedName(mapping.TypeDesc.DataType.
Name
, XmlSchema.Namespace);
585
element.SchemaTypeName = new XmlQualifiedName(type.
Name
, mapping.Namespace);
916
XmlQualifiedName qname = new XmlQualifiedName(type.
Name
, mapping.Namespace);
System\Xml\Serialization\XmlSchemaImporter.cs (29)
81
mapping.TypeName = mapping.TypeDesc.DataType.
Name
;
455
if (type.DerivedFrom == baseName && TypesInUse[type.
Name
, schema.TargetNamespace] == null) {
491
throw new NotSupportedException(Res.GetString(Res.XmlUnsupportedRedefine, type.
Name
, typeNs));
504
if (mapping != null && type.
Name
!= null && type.
Name
.Length != 0)
580
string typeName = type.
Name
== null || type.
Name
.Length == 0 ? GenerateUniqueTypeName(identifier, typeNs) : GenerateUniqueTypeName(identifier);
583
structMapping.TypeName = type.
Name
== null || type.
Name
.Length == 0 ? null : identifier;
610
throw new InvalidOperationException(Res.GetString(Res.XmlIllegalOverride, type.
Name
, baseMember.Name, baseMember.TypeDesc.FullName, structMapping.Members[i].TypeDesc.FullName, declaringMapping.TypeDesc.FullName));
1214
arrayMapping.TypeName = (type.
Name
== null || type.
Name
.Length == 0) ? "ArrayOf" + CodeIdentifier.MakePascal(arrayMapping.TypeDesc.Name) : type.
Name
;
1230
arrayMapping.TypeName = (type.
Name
== null || type.
Name
.Length == 0) ? "ArrayOf" + CodeIdentifier.MakePascal(itemAccessor.Mapping.TypeDesc.Name) : type.
Name
;
1241
if (type.
Name
!= null && type.
Name
.Length != 0)
1477
mapping.TypeName = mapping.TypeDesc.DataType.
Name
;
1573
mapping.TypeName = dataType.
Name
;
1608
if (dataType.
Name
!= null && dataType.
Name
.Length > 0)
1683
mapping.TypeName = sourceTypeDesc.DataType.
Name
;
1691
if (dataType.
Name
!= null && dataType.
Name
.Length != 0) {
1692
typeDesc = Scope.GetTypeDesc(dataType.
Name
, ns, flags);
1696
mapping.TypeName = typeDesc.DataType.
Name
;
1737
if (dataType.
Name
!= null && dataType.
Name
.Length != 0) {
System\Xml\Serialization\XmlSchemas.cs (4)
468
return ((XmlSchemaType)o).
Name
;
483
if (type.
Name
!= null && type.
Name
.Length != 0) {
527
item = Res.GetString(Res.XmlSchemaNamedItem, ns, o.GetType() == typeof(XmlSchemaSimpleType) ? "simpleType" : "complexType", ((XmlSchemaType)o).
Name
, null);
System\Xml\Serialization\XmlSerializer.cs (2)
447
return xmlReader.IsStartElement(typeDesc.DataType.
Name
, string.Empty);
730
element.Name = typeDesc.DataType.
Name
;