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