1026 references to Name
PresentationFramework (16)
src\Framework\MS\Internal\Annotations\Anchoring\DataIdProcessor.cs (2)
215throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart"); 224throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart");
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (2)
187throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart"); 198throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart");
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (1)
518throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart");
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (1)
216throw new ArgumentException(SR.Get(SRID.IncorrectLocatorPartType, locatorPart.PartType.Namespace + ":" + locatorPart.PartType.Name), "locatorPart");
src\Framework\System\Windows\Annotations\Annotation.cs (3)
113if (String.IsNullOrEmpty(annotationType.Name)) 152if (String.IsNullOrEmpty(annotationType.Name)) 239writer.WriteQualifiedName(_typeName.Name, _typeName.Namespace);
src\Framework\System\Windows\Annotations\LocatorPart.cs (3)
58if (String.IsNullOrEmpty(partType.Name)) 375res += TextSelectionProcessor.CharacterRangeElementName.Name + "/" + corePrefix + ":"+AnnotationXmlConstants.Elements.Item; 404res += this.PartType.Name;
src\Framework\System\Windows\Annotations\LocatorPartList.cs (4)
201writer.WriteStartElement(prefix, part.PartType.Name, part.PartType.Namespace); 256Annotation.CheckForNonNamespaceAttribute(reader, part.PartType.Name); 260while (!(XmlNodeType.EndElement == reader.NodeType && part.PartType.Name == reader.LocalName)) 317throw new XmlException(SR.Get(SRID.InvalidXmlContent, part.PartType.Name));
System.Data (33)
fx\src\data\System\Data\DataSet.cs (1)
3600if (!(schema.RefName.Name == "schema" && schema.RefName.Namespace == XmlSchema.Namespace)) return null;
fx\src\data\System\Data\SimpleType.cs (2)
79info.AddValue("SimpleType.XmlBaseType.Name", xmlQN != null ? xmlQN.Name : null); 105baseType = content.BaseTypeName.Name;
fx\src\data\System\Data\SQLTypes\SqlTypesSchemaImporter.cs (1)
100if ((0 == string.CompareOrdinal(m_name, qname.Name)) && (0 == string.CompareOrdinal(m_targetNamespace, qname.Namespace))) {
fx\src\data\System\Data\xmlsaver.cs (3)
1573if (FindTypeNode(typeSchema, table.TypeName.Name) == null) 1576type.SetAttribute(Keywords.NAME, table.TypeName.Name); 1584root.SetAttribute( Keywords.TYPE, NewDiffgramGen.QualifiedName((string)prefixes[table.TypeName.Namespace], table.TypeName.Name) );
fx\src\data\System\Data\XMLSchema.cs (26)
478if (((XmlSchemaElement)el).RefName.Name.Length != 0) { 653if(sel.RefName.Name.Length != 0 ) { 785if (((el.Name == null) && (el.RefName.Name == table.EncodedTableName && el.RefName.Namespace == table.Namespace)) || 910HandleSimpleContentColumn(ccExtension.BaseTypeName.Name, table, isBase, ct.ContentModel.UnhandledAttributes, isNillable); 938HandleSimpleTypeSimpleContentColumn((XmlSchemaSimpleType)ct.BaseXmlSchemaType, ccExtension.BaseTypeName.Name, table, isBase, ct.ContentModel.UnhandledAttributes, isNillable); 1083string refer = XmlConvert.DecodeName(keyref.Refer.Name); // check here!!! 1321instanceName = el.Name != null ? el.Name : el.RefName.Name; 1325instanceName = el.Name != null ? el.Name : el.RefName.Name; 1673String _type = isAttr ? attr.SchemaTypeName.Name : el.SchemaTypeName.Name; 1679_type = isAttr ? attr.RefName.Name : el.RefName.Name; 1701if (typeNode.QualifiedName.Name != null && typeNode.QualifiedName.Name.Length != 0 && typeNode.QualifiedName.Namespace != Keywords.XSDNS) { // this means UDSimpleType 1910strType = attr.SchemaTypeName.Name; 1920type = ParseDataType(attr.SchemaTypeName.Name); 1927if (node.QualifiedName.Name != null && node.QualifiedName.Name.Length != 0 && node.QualifiedName.Namespace != Keywords.XSDNS) { // this means UDSimpleType 1940strType = ((XmlSchemaElement)typeNode).SchemaTypeName.Name; 2052strType = el.SchemaTypeName.Name; 2058type = ParseDataType(el.SchemaTypeName.Name); 2093strType = ((XmlSchemaElement)typeNode).SchemaTypeName.Name; 2276if(((XmlSchemaElement)el).RefName.Name.Length != 0) { 2312if ((((XmlSchemaElement)choiceEl).RefName.Name.Length != 0) && (!FromInference && ((XmlSchemaElement)choiceEl).MaxOccurs != Decimal.One && !(((XmlSchemaElement)choiceEl).SchemaType is XmlSchemaComplexType))) 2368return qualifiedNames[i].Name; 2380if (qualifiedNames[i].Name == prefix)
System.Data.Entity (1)
System\Data\Objects\ProxyDataContractResolver.cs (1)
48typeName = new XmlDictionaryString(dictionary, qualifiedName.Name, 0);
System.Data.Services.Design (1)
System\Data\Services\Design\Xml\XNodeSchemaApplier.cs (1)
227if (expected.Name == name.Name)
System.Data.SqlXml (33)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (2)
795if ((object) qnameDup.Name == (object) qname.Name && (object) qnameDup.Namespace == (object) qname.Namespace) {
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (5)
1367Debug.Assert(ValidateNames.ParseNCName(name.Name, 0) == name.Name.Length); 1371prefix = EnsureValidName(prefix, name.Name, name.Namespace, nodeType); 1374WriteStartElement(prefix, name.Name, name.Namespace); 1376WriteStartAttribute(prefix, name.Name, name.Namespace);
System\Xml\Xsl\Runtime\XsltConvert.cs (1)
320Debug.Fail("Conversion from " + value.XmlType.QualifiedName.Name + " to " + destinationType + " is not supported.");
System\Xml\Xsl\Runtime\XsltFunctions.cs (2)
189switch (name.Name) { 194} else if (name.Namespace == XmlReservedNs.NsMsxsl && name.Name == "version") {
System\Xml\Xsl\Runtime\XsltLibrary.cs (3)
139if (QilGenerator.IsFunctionAvailable(name.Name, name.Namespace)) { 149if (runtime.ExternalContext.LateBoundFunctionExists(name.Name, name.Namespace)) { 154return runtime.EarlyBoundFunctionExists(name.Name, name.Namespace);
System\Xml\Xsl\XmlQualifiedNameTest.cs (7)
70get { return (object)this.Name == (object)wildcard; } 81return other.IsNameWildcard || this.Name == other.Name; 114return this.Name; 117return "*:" + this.Name; 120return "{~" + this.Namespace + "}:" + this.Name; 123return "{" + this.Namespace + "}:" + this.Name;
System\Xml\Xsl\XmlQueryType.cs (4)
627return name.Name; 630return "xs:" + name.Name; 633return "xdt:" + name.Name; 636return "{" + name.Namespace + "}" + name.Name;
System\Xml\Xsl\Xslt\QilGeneratorEnv.cs (6)
292string localName = name.Name; 509QilNode name = f.QName(resolvedName.Name, resolvedName.Namespace); 557name = f.QName(qname.Name, qname.Namespace); 571name = f.QName(qname.Name, qname.Namespace); 585return f.Boolean(QilGenerator.IsFunctionAvailable(qname.Name, qname.Namespace)); 589name = f.QName(qname.Name, qname.Namespace);
System\Xml\Xsl\Xslt\XsltQilFactory.cs (1)
140QName(format.Name.Name, format.Name.Namespace),
System\Xml\Xsl\XsltOld\Processor.cs (1)
200object parameter = args.GetParam(qname.Name, qname.Namespace);
System\Xml\Xsl\XsltOld\XsltOutput.cs (1)
194switch(method.Name) {
System.IdentityModel (16)
System\IdentityModel\Metadata\MetadataSerializer.cs (4)
2058writer.WriteStartElement(element.Name, element.Namespace); 2413writer.WriteStartElement(element.Name, element.Namespace); 2537writer.WriteStartElement(element.Name, element.Namespace); 2574writer.WriteStartElement(element.Name, element.Namespace);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (3)
2334throw DiagnosticUtility.ThrowHelperXml(reader, SR.GetString(SR.ID4110, parentElement, declaredType.Name, declaredType.Namespace)); 4923throw DiagnosticUtility.ThrowHelperXml(reader, SR.GetString(SR.ID4105, declaredType.Name, declaredType.Namespace)); 5263throw DiagnosticUtility.ThrowHelperXml(reader, SR.GetString(SR.ID4112, type.Name, type.Namespace));
System\IdentityModel\Tokens\SamlAuthorityBinding.cs (4)
46if (string.IsNullOrEmpty(value.Name)) 100if (string.IsNullOrEmpty(authorityKind.Name)) 192writer.WriteString(this.authorityKind.Name); 194writer.WriteString(prefix + ":" + this.authorityKind.Name);
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
3075writer.WriteString(authorityBinding.AuthorityKind.Name); 3079writer.WriteString(prefix + ":" + authorityBinding.AuthorityKind.Name);
System\IdentityModel\XmlUtil.cs (3)
141&& StringComparer.Ordinal.Equals(localName, qname.Name) 192&& StringComparer.Ordinal.Equals(expectedTypeName, declaredType.Name))) 195SR.GetString(SR.ID4102, expectedTypeName, expectedTypeNamespace, declaredType.Name, declaredType.Namespace));
System.Runtime.Serialization (188)
System\Runtime\Serialization\ClassDataContract.cs (7)
697this.Name = dictionary.Add(StableName.Name); 740Name = dictionary.Add(StableName.Name); 779this.StableName = new XmlQualifiedName(GetStableNameAndSetHasDataContract(type).Name, ns.Value); 782Name = dictionary.Add(StableName.Name); 1185ThrowInvalidDataContractException(SR.GetString(SR.ValueTypeCannotHaveBaseType, StableName.Name, StableName.Namespace, baseContract.StableName.Name, baseContract.StableName.Namespace)); 1432boundClassContract.StableName = CreateQualifiedName(DataContract.ExpandGenericParameters(XmlConvert.DecodeName(stableName.Name), new GenericNameProvider(DataContract.GetClrTypeFullName(this.UnderlyingType), genericParams)), stableName.Namespace);
System\Runtime\Serialization\CodeExporter.cs (24)
312throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.TypeCannotBeImported, typeName.Name, typeName.Namespace, SR.GetString(SR.CircularTypeReference, classContract.StableName.Name, classContract.StableName.Namespace)))); 428string typeName = XmlConvert.DecodeName(dataContract.StableName.Name); 471string originalName = dataContract.StableName.Name; 554throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ReferencedTypeDoesNotMatch, type.AssemblyQualifiedName, dataContract.StableName.Name, dataContract.StableName.Namespace))); 563throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.TypeMustBeIXmlSerializable, DataContract.GetClrTypeFullName(type), DataContract.GetClrTypeFullName(Globals.TypeOfIXmlSerializable), dataContract.StableName.Name, dataContract.StableName.Namespace))); 572throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ReferencedTypeDoesNotMatch, type.AssemblyQualifiedName, dataContract.StableName.Name, dataContract.StableName.Namespace))); 579throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.GenericTypeNameMismatch, dataContract.StableName.Name, dataContract.StableName.Namespace, genericStableName.Name, genericStableName.Namespace))); 587referencedContract.StableName.Name, 623if (collectionContract.ItemName != itemContract.StableName.Name) 631return (collectionContract.StableName.Name == expectedType.Name && collectionContract.StableName.Namespace == expectedType.Namespace); 680dataContract.StableName.Name, 821string dataContractName = GetNameForAttribute(classDataContract.StableName.Name); 1072throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotDeriveFromSealedReferenceType, dataContract.StableName.Name, dataContract.StableName.Namespace, DataContract.GetClrTypeFullName(baseType)))); 1090string dataContractName = GetNameForAttribute(enumDataContract.StableName.Name); 1126throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.InvalidClrNamespaceGeneratedForISerializable, dataContract.StableName.Name, dataContract.StableName.Namespace, DataContract.GetDataContractNamespaceFromUri(dataContract.StableName.Namespace), contractCodeDomInfo.ClrNamespace))); 1127string dataContractName = GetNameForAttribute(dataContract.StableName.Name); 1131throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.InvalidClrNameGeneratedForISerializable, dataContract.StableName.Name, dataContract.StableName.Namespace, contractCodeDomInfo.TypeDeclaration.Name))); 1193string dataContractName = GetNameForAttribute(collectionContract.StableName.Name); 1221string expectedTypeName = Globals.ArrayPrefix + itemContract.StableName.Name; 1293typeNameField.InitExpression = new CodeObjectCreateExpression(Globals.TypeOfXmlQualifiedName, new CodePrimitiveExpression(typeName.Name), new CodePrimitiveExpression(typeName.Namespace)); 1299(xmlDataContract.TopLevelElementName != null && xmlDataContract.TopLevelElementName.Value != xmlDataContract.StableName.Name) ||
System\Runtime\Serialization\CollectionDataContract.cs (5)
564this.Name = dictionary.Add(this.StableName.Name); 566this.itemName = itemName ?? DataContract.GetStableName(DataContract.UnwrapNullableType(itemType)).Name; 604this.StableName = CreateQualifiedName(Globals.ArrayPrefix + itemContract.StableName.Name, itemContract.StableName.Namespace); 1244boundCollectionContract.ItemName = ItemNameSetExplicit ? this.ItemName : boundCollectionContract.ItemContract.StableName.Name; 1247boundCollectionContract.StableName = CreateQualifiedName(DataContract.ExpandGenericParameters(XmlConvert.DecodeName(this.StableName.Name), new GenericNameProvider(DataContract.GetClrTypeFullName(this.UnderlyingType), paramContracts)),
System\Runtime\Serialization\DataContract.cs (11)
1257this.Name = dictionary.Add(stableName.Name); 1594name = arrayOfPrefix + elementStableName.Name; 1626string name = Globals.ArrayPrefix + itemName.Name; 1678localName.Append(qname.Name); 1878localName = dataContract.StableName.Name; 2250throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.DupContractInKnownTypes, type, alreadyExistingContract.UnderlyingType, dataContract.StableName.Namespace, dataContract.StableName.Name))); 2279return (StableName.Name == dataContract.StableName.Name && StableName.Namespace == dataContract.StableName.Namespace && IsReference == dataContract.IsReference); 2490return GetStableName(paramIndex).Name; 2577return new XmlQualifiedName(DataContract.EncodeLocalName(DataContract.ExpandGenericParameters(XmlConvert.DecodeName(stableName.Name), this)), stableName.Namespace); 2607return paramGenericInfos[paramIndex].GetExpandedStableName().Name;
System\Runtime\Serialization\DataContractSet.cs (5)
134throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.DupContractInDataContractSet, dataContract.StableName.Name, dataContract.StableName.Namespace))); 138throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.DupTypeContractInDataContractSet, (typeNamesEqual ? dataContract.UnderlyingType.AssemblyQualifiedName : DataContract.GetClrTypeFullName(dataContract.UnderlyingType)), (typeNamesEqual ? dataContractInSet.UnderlyingType.AssemblyQualifiedName : DataContract.GetClrTypeFullName(dataContractInSet.UnderlyingType)), dataContract.StableName.Name, dataContract.StableName.Namespace))); 304DataContract dataContract = DataContract.GetBuiltInDataContract(key.Name, key.Namespace); 320if (DataContract.GetBuiltInDataContract(key.Name, key.Namespace) != null) 488XmlConvert.DecodeName(stableName.Name),
System\Runtime\Serialization\EnumDataContract.cs (3)
199Name = dictionary.Add(StableName.Name); 231ThrowInvalidDataContractException(SR.GetString(SR.InvalidEnumBaseType, value.Name, value.Namespace, StableName.Name, StableName.Namespace));
System\Runtime\Serialization\Json\JsonFormatReaderGenerator.cs (4)
65TD.DCJsonGenReaderStart("Collection", collectionContract.StableName.Name); 125BeginMethod(ilg, "Read" + classContract.StableName.Name + "FromJson", typeof(JsonFormatClassReaderDelegate), memberAccessFlag); 196BeginMethod(ilg, "Read" + collectionContract.StableName.Name + "FromJson" + "IsGetOnly", typeof(JsonFormatGetOnlyCollectionReaderDelegate), memberAccessFlag); 200BeginMethod(ilg, "Read" + collectionContract.StableName.Name + "FromJson", typeof(JsonFormatCollectionReaderDelegate), memberAccessFlag);
System\Runtime\Serialization\Json\JsonFormatWriterGenerator.cs (2)
95BeginMethod(ilg, "Write" + classContract.StableName.Name + "ToJson", typeof(JsonFormatClassWriterDelegate), memberAccessFlag); 126BeginMethod(ilg, "Write" + collectionContract.StableName.Name + "ToJson", typeof(JsonFormatCollectionWriterDelegate), memberAccessFlag);
System\Runtime\Serialization\Json\JsonWriterDelegator.cs (1)
49writer.WriteString(value.Name);
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
152attributes.XsiTypeName = qualifiedTypeName.Name;
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
356throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.DcTypeNotFoundOnSerialize, DataContract.GetClrTypeFullName(dataContract.UnderlyingType), dataContract.StableName.Name, dataContract.StableName.Namespace)));
System\Runtime\Serialization\SchemaExporter.cs (19)
128type.Name = classDataContract.StableName.Name; 228XmlElement defaultValueElement = XmlDoc.CreateElement(DefaultValueAnnotation.Name, DefaultValueAnnotation.Namespace); 243XmlElement actualTypeElement = xmlDoc.CreateElement(ActualTypeAnnotationName.Name, ActualTypeAnnotationName.Namespace); 246nameAttribute.Value = typeName.Name; 295string collectionName = dcqname.Name; 303nameAttribute.Value = genericArguments != null ? XmlConvert.DecodeName(dcqname.Name) : dcqname.Name; 353SurrogateDataAnnotationName.Name, SurrogateDataAnnotationName.Namespace, knownTypes, Int32.MaxValue, 363type.Name = collectionDataContract.StableName.Name; 415XmlElement isDictionaryElement = XmlDoc.CreateElement(IsDictionaryAnnotationName.Name, IsDictionaryAnnotationName.Namespace); 423type.Name = enumDataContract.StableName.Name; 462type.Name = dataContract.StableName.Name; 542SR.GetString(SR.TraceCodeXsdExportAnnotationFailed), new StringTraceRecord("Type", typeQName.Namespace + ":" + typeQName.Name)); 583{ "Name", qname.Namespace + ":" + qname.Name } 604if (stableName.Name == null || stableName.Name.Length == 0) 704AddDefaultDatasetType(schemas, stableName.Name, stableName.Namespace); 710AddDefaultTypedDatasetType(schemas, schema, stableName.Name, stableName.Namespace); 838XmlElement annotationElement = XmlDoc.CreateElement(annotationQualifiedName.Name, annotationQualifiedName.Namespace);
System\Runtime\Serialization\SchemaHelper.cs (2)
54if (schemaType != null && schemaType.Name == typeQName.Name) 107if (schemaElement != null && schemaElement.Name == elementQName.Name)
System\Runtime\Serialization\SchemaImporter.cs (82)
113if (typeName != null && typeName.Name.Length > 0) 377typeQName = new XmlQualifiedName(typeQName.Name + i.ToString(NumberFormatInfo.InvariantInfo), typeQName.Namespace); 392DataContract dataContract = DataContract.GetBuiltInDataContract(typeName.Name, typeName.Namespace); 397throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.SpecifiedTypeNotFoundInSchema, typeName.Name, typeName.Namespace))); 423ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.RedefineNotSupported)); 431ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.SimpleTypeUnionNotSupported)); 463ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.SimpleContentNotSupported)); 468ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.MixedContentNotSupported)); 482ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ComplexTypeRestrictionNotSupported)); 489ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, String.Empty); 620if (!serializationSchemaElements.ContainsKey(element.RefName.Name)) 640ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.RootParticleMustBeSequence)); 645ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.RootSequenceMustBeRequired)); 647ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.RootSequenceMaxOccursMustBe)); 678ThrowTypeCannotBeImportedException(dataContract.StableName.Name, dataContract.StableName.Namespace, SR.GetString(SR.DerivedTypeNotISerializable, baseTypeName.Name, baseTypeName.Namespace)); 694ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.MustContainOnlyLocalElements)); 736SR.GetString(SR.TraceCodeXsdImportAnnotationFailed), new StringTraceRecord("Type", typeName.Namespace + ":" + typeName.Name)); 833ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.IsValueTypeFormattedIncorrectly, isValueTypeInnerText, fe.Message)); 856ThrowISerializableTypeCannotBeImportedException(dataContract.StableName.Name, dataContract.StableName.Namespace, SR.GetString(SR.BaseTypeNotISerializable, baseTypeName.Name, baseTypeName.Namespace)); 858ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableDerivedContainsOneOrMoreItems)); 867ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableDoesNotContainAny)); 870ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableDoesNotContainAny)); 872ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableContainsMoreThanOneItems)); 876ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableDoesNotContainAny)); 881ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableWildcardMinOccursMustBe, iSerializableWildcardElement.MinOccurs)); 883ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableWildcardMaxOccursMustBe, iSerializableWildcardElement.MaxOccursString)); 885ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableWildcardNamespaceInvalid, iSerializableWildcardElement.Namespace)); 887ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableWildcardProcessContentsInvalid, iSerializableWildcardElement.ProcessContents)); 907ThrowISerializableTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ISerializableMustRefFactoryTypeAttribute, factoryTypeAttributeRefName.Name, factoryTypeAttributeRefName.Namespace)); 922ThrowTypeCannotBeImportedException(dataContract.StableName.Name, dataContract.StableName.Namespace, SR.GetString(dataContract.IsISerializable ? SR.InvalidISerializableDerivation : SR.InvalidClassDerivation, baseTypeName.Name, baseTypeName.Namespace)); 956ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.AnonymousTypeNotSupported, typeName.Name, typeName.Namespace)); 961ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.TopLevelElementRepresentsDifferentType, topLevelElement.SchemaTypeName.Name, topLevelElement.SchemaTypeName.Namespace)); 971ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ElementMinOccursMustBe, element.Name)); 973ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ElementMaxOccursMustBe, element.Name)); 984ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.FormMustBeQualified, element.Name)); 990memberTypeContract = ImportAnonymousElement(element, new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace)); 992ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ElementRefOnLocalElementNotSupported, element.RefName.Name, element.RefName.Namespace)); 1007throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.InvalidEmitDefaultAnnotation, memberName, typeName.Name, typeName.Namespace))); 1022ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.CannotHaveDuplicateElementNames, memberName)); 1029dataContractSet.SetSurrogateData(dataMember, ImportSurrogateData(ImportAnnotation(element.Annotation, surrogateDataAnnotationName), surrogateDataAnnotationName.Name, surrogateDataAnnotationName.Namespace)); 1042throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.AnnotationAttributeNotFound, SchemaExporter.DefaultValueAnnotation.Name, typeName.Name, typeName.Namespace, Globals.EmitDefaultValueAttribute))); 1055throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.AnnotationAttributeNotFound, SchemaExporter.ActualTypeAnnotationName.Name, typeName.Name, typeName.Namespace, Globals.ActualTypeNameAttribute))); 1059throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.AnnotationAttributeNotFound, SchemaExporter.ActualTypeAnnotationName.Name, typeName.Name, typeName.Namespace, Globals.ActualTypeNamespaceAttribute))); 1082ThrowArrayTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ArrayItemFormMustBe, element.Name)); 1097XmlQualifiedName fullName = new XmlQualifiedName(String.Format(CultureInfo.InvariantCulture, "{0}.{1}Type", typeName.Name, element.Name), typeName.Namespace); 1102ThrowArrayTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.ElementRefOnLocalElementNotSupported, element.RefName.Name, element.RefName.Namespace)); 1118ThrowArrayTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.InvalidKeyValueType, element.Name)); 1122ThrowArrayTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.InvalidKeyValueTypeNamespace, element.Name, keyValueContract.Namespace)); 1135dataContract.ItemContract.StableName = new XmlQualifiedName(genericInfo.GetExpandedStableName().Name, typeName.Namespace); 1169ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.IsDictionaryFormattedIncorrectly, isDictionaryInnerText, fe.Message)); 1179ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.EnumListMustContainAnonymousType)); 1183ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.EnumUnionInAnonymousTypeNotSupported)); 1185ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.EnumListInAnonymousTypeNotSupported)); 1192ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.EnumRestrictionInvalid)); 1215ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.EnumOnlyEnumerationFacetsSupported)); 1217ThrowEnumTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.EnumEnumerationFacetsMustHaveValue)); 1239ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.SimpleTypeRestrictionDoesNotSpecifyBase)); 1259if (typeElement != null && typeElement.NamespaceURI == surrogateDataAnnotationName.Namespace && typeElement.LocalName == surrogateDataAnnotationName.Name) 1261object surrogateData = ImportSurrogateData(typeElement, surrogateDataAnnotationName.Name, surrogateDataAnnotationName.Namespace); 1361ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.AbstractTypeNotSupported)); 1363ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.MixedContentNotSupported)); 1369ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.AbstractElementNotSupported, element.Name)); 1371ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.DefaultOnElementNotSupported, element.Name)); 1373ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.FixedOnElementNotSupported, element.Name)); 1375ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.SubstitutionGroupOnElementNotSupported, element.Name)); 1381ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.AnyAttributeNotSupported)); 1400ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.TypeShouldNotContainAttributes, Globals.SerializationNamespace)); 1412ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.CannotHaveDuplicateAttributeNames, refName.Name)); 1430ThrowTypeCannotBeImportedException(typeName.Name, typeName.Namespace, SR.GetString(SR.InvalidAnnotationExpectingText, xmlElement.LocalName, xmlElement.NamespaceURI, child.LocalName, child.NamespaceURI)); 1449if (annotationElement != null && annotationElement.LocalName == annotationQualifiedName.Name && annotationElement.NamespaceURI == annotationQualifiedName.Namespace)
System\Runtime\Serialization\XmlDataContract.cs (4)
209this.Name = dictionary.Add(StableName.Name); 330this.TopLevelElementName = dictionary.Add(elementName.Name); 421return (StableName.Name == dataContract.StableName.Name && StableName.Namespace == dataContract.StableName.Namespace);
System\Runtime\Serialization\XmlFormatReaderGenerator.cs (3)
126ilg.BeginMethod("Read" + classContract.StableName.Name + "FromXml", Globals.TypeOfXmlFormatClassReaderDelegate, memberAccessFlag); 207ilg.BeginMethod("Read" + collectionContract.StableName.Name + "FromXml" + "IsGetOnly", Globals.TypeOfXmlFormatGetOnlyCollectionReaderDelegate, memberAccessFlag); 211ilg.BeginMethod("Read" + collectionContract.StableName.Name + "FromXml" + string.Empty, Globals.TypeOfXmlFormatCollectionReaderDelegate, memberAccessFlag);
System\Runtime\Serialization\XmlFormatWriterGenerator.cs (2)
108ilg.BeginMethod("Write" + classContract.StableName.Name + "ToXml", Globals.TypeOfXmlFormatClassWriterDelegate, memberAccessFlag); 138ilg.BeginMethod("Write" + collectionContract.StableName.Name + "ToXml", Globals.TypeOfXmlFormatCollectionWriterDelegate, memberAccessFlag);
System\Runtime\Serialization\XmlObjectSerializerContext.cs (4)
272DataContract knownContract = ResolveDataContractFromKnownTypes(dataContract.StableName.Name, dataContract.StableName.Namespace, null /*memberTypeContract*/, declaredType); 278DataContract dataContract = PrimitiveDataContract.GetPrimitiveDataContract(typeName.Name, typeName.Namespace); 294TD.DCResolverResolve(typeName.Name + ":" + typeName.Namespace); 297Type dataContractType = DataContractResolver.ResolveName(typeName.Name, typeName.Namespace, declaredType, KnownTypeResolver);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (1)
216values["ISerializableType"] = dataContract.StableName.Namespace + ":" + dataContract.StableName.Name;
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
263throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(XmlObjectSerializer.CreateSerializationException(SR.GetString(SR.DcTypeNotFoundOnSerialize, DataContract.GetClrTypeFullName(dataContract.UnderlyingType), dataContract.StableName.Name, dataContract.StableName.Namespace)));
System\Runtime\Serialization\XmlSerializableServices.cs (1)
77SchemaExporter.AddDefaultXmlType(schemas, typeQName.Name, typeQName.Namespace);
System\Runtime\Serialization\XmlWriterDelegator.cs (1)
659WriteQualifiedName(value.Name, value.Namespace);
System\Runtime\Serialization\XsdDataContractImporter.cs (4)
194DataContract dataContract = DataContract.GetBuiltInDataContract(typeName.Name, typeName.Namespace); 199throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.TypeHasNotBeenImported, typeName.Name, typeName.Namespace))); 209DataContract dataContract = DataContract.GetBuiltInDataContract(typeName.Name, typeName.Namespace); 214throw System.Runtime.Serialization.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.TypeHasNotBeenImported, typeName.Name, typeName.Namespace)));
System.ServiceModel (78)
System\ServiceModel\Channels\AddressHeader.cs (1)
255this.name = rootName.Name;
System\ServiceModel\Channels\UnrecognizedAssertionsBindingElement.cs (1)
113return new UnrecognizedAssertionsBindingElement(new XmlQualifiedName(wsdlBinding.Name, wsdlBinding.Namespace), null);
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (1)
488WsdlNS.PortType wsdlPortType = wsdl.PortTypes[portTypeQName.Name];
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (1)
66WriteComment(String.Format(CultureInfo.InvariantCulture, "<wsdl:binding name='{0}'>", this.wsdlBinding.Name), indent, writer, settings);
System\ServiceModel\Description\MessageContractExporter.cs (4)
172genericMessageType.Name = DataContractSerializerMessageContractImporter.GenericMessageTypeName.Name; 197streamBodyType.Name = DataContractSerializerMessageContractImporter.StreamBodyTypeName.Name; 238ExportGlobalElement(elementName.Name, elementName.Namespace, true/*isNillable*/, typeName, xsdType, this.exporter.GeneratedXmlSchemas); 586if (String.IsNullOrEmpty(typeName.Name))
System\ServiceModel\Description\MessageContractImporter.cs (12)
603faultDescription.ElementName = new XmlName(detailElementQname.Name, true /*isEncoded*/); 697description.Body.WrapperName = new XmlName(part.Element.Name, true /*isEncoded*/).EncodedName; 702return CheckAndAddPart(element.ElementSchemaType.QualifiedName, DataContractSerializerMessageContractImporter.StreamBodyTypeName, element.RefName.Name, GetLocalElementNamespace(element.RefName.Namespace, element, elementFormDefault), typeof(Stream), description, isReply); 737messageDescription.Body.WrapperName = new XmlName(elementName.Name, true /*isEncoded*/).EncodedName; 815throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxSchemaDoesNotContainElement, elementName.Name, elementName.Namespace))); 844throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxSchemaDoesNotContainType, typeName.Name, typeName.Namespace))); 864prefixesUsed.Add(pair.Name, null); 866if (!prefixesUsed.ContainsKey(pair.Name)) 867xsdNamespaces.Add(pair.Name, pair.Namespace); 1132if (header != null && header.Message.Name == messageName) 1162if (header != null && header.Message.Name == messageName) 2036XmlName memberName = new XmlName(elementName.Name, true /*isEncoded*/);
System\ServiceModel\Description\MetadataResolver.cs (1)
295throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SFxMetadataResolverKnownContractsUniqueQNames, qname.Name, qname.Namespace));
System\ServiceModel\Description\MetadataSet.cs (3)
462if (!processOuterElement || (xsiType == null || ((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)id3_MetadataSet && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item))) 524if (xsiType == null || ((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)id4_MetadataSection && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) 620if (xsiType == null || ((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)id14_MetadataLocation && (object)((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item))
System\ServiceModel\Description\SchemaHelper.cs (3)
183return xsdValueTypePrimitives.Contains(typeName.Name); 185return dataContractPrimitives.Contains(typeName.Name); 187return dataContractPrimitives.Contains(typeName.Name);
System\ServiceModel\Description\ServiceEndpointCollection.cs (5)
46if (endpoint != null && endpoint.Contract.Name == contractName.Name && endpoint.Contract.Namespace == contractName.Namespace) 69endpoint.Binding.Name == bindingName.Name && 92if (endpoint != null && endpoint.Contract.Name == contractName.Name && 94endpoint.Binding.Name == bindingName.Name && 153if (endpoint != null && endpoint.Contract.Name == contractName.Name && endpoint.Contract.Namespace == contractName.Namespace)
System\ServiceModel\Description\ServiceMetadataExtension.cs (1)
1251return binding.Type.Name;
System\ServiceModel\Description\ServiceReflector.cs (1)
121actionBuilder.Append(contractName.Name);
System\ServiceModel\Description\TypeLoader.cs (3)
184ContractDescription contract = new ContractDescription(contractName.Name, contractName.Namespace); 199ContractDescription contract = new ContractDescription(contractName.Name, contractName.Namespace); 694ContractDescription contractDescription = new ContractDescription(contractName.Name, contractName.Namespace);
System\ServiceModel\Description\WsdlContractConversionContext.cs (1)
155if (wsdlBinding.Type.Name == WsdlPortType.Name && wsdlBinding.Type.Namespace == WsdlPortType.ServiceDescription.TargetNamespace)
System\ServiceModel\Description\WsdlExporter.cs (7)
260wsdlPortType.Name = wsdlPortTypeQName.Name; 321wsdlBinding.Name = wsdlBindingQName.Name; 338wsdlBinding = bindingWsdl.Bindings[wsdlBindingQName.Name]; 508WsdlNS.Service wsdlService = wsdl.Services[wsdlServiceQName.Name]; 513wsdlService.Name = wsdlServiceQName.Name; 1008if (prefixDef.Name == prefix) 1025foundPrefix = prefixDef.Name;
System\ServiceModel\Description\WsdlHelper.cs (5)
242binding.Type = new XmlQualifiedName(binding.Type.Name, targetNamespace); 253messageInput.Message = new XmlQualifiedName(messageInput.Message.Name, targetNamespace); 259messageOutput.Message = new XmlQualifiedName(messageOutput.Message.Name, targetNamespace); 266fault.Message = new XmlQualifiedName(fault.Message.Name, targetNamespace); 283port.Binding = new XmlQualifiedName(port.Binding.Name, targetNamespace);
System\ServiceModel\Description\WsdlImporter.cs (9)
536contractDescription = new ContractDescription(contractQName.Name, contractQName.Namespace); 558binding.Name = NamingHelper.CodeName(bindingQName.Name); 776string errorMsg = SR.GetString(SR.RequiredWSDLExtensionIgnored, qName.Name, qName.Namespace); 783string errorMsg = SR.GetString(SR.OptionalWSDLExtensionIgnored, qName.Name, qName.Namespace, xPath); 1478bindingName.Value = wsdlBindingQName.Name; 1517if (wsdlBinding.Type.Name == wsdlPortType.Name 1528if (wsdlBinding.Type.Name == qName.Name 1538if (wsdlPort.Binding.Name == binding.Name && wsdlPort.Binding.Namespace == binding.ServiceDescription.TargetNamespace)
System\ServiceModel\Dispatcher\UniqueContractNameValidationBehavior.cs (1)
38SR.GetString(SR.SFxMultipleContractsWithSameName, qname.Name, qname.Namespace)));
System\ServiceModel\Dispatcher\XmlSerializerObjectSerializer.cs (1)
34Initialize(type, qualifiedName.Name, qualifiedName.Namespace, xmlSerializer);
System\ServiceModel\EndpointAddress10.cs (1)
102schemaToAdd.Namespaces.Add(prefixNsPair.Name, prefixNsPair.Namespace);
System\ServiceModel\EndpointAddressAugust2004.cs (1)
101schemaToAdd.Namespaces.Add(prefixNsPair.Name, prefixNsPair.Namespace);
System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
174if (!result.IsHeaderIncluded(headerType.Name, headerType.Namespace))
System\ServiceModel\Security\IssuedTokensHeader.cs (1)
230if (issuanceAppliesToName == expectedAppliesToQName.Name && issuanceAppliesToNs == expectedAppliesToQName.Namespace)
System\ServiceModel\Security\MessagePartSpecification.cs (4)
136if (qname.Name == qname1.Name && qname.Namespace == qname1.Namespace) 204if (String.IsNullOrEmpty(qname.Name)) 213if (qname.Name == name && qname.Namespace == ns)
System\ServiceModel\Security\ScopedMessagePartSpecification.cs (1)
170if (!target.channelParts.IsHeaderIncluded(headerType.Name, headerType.Namespace))
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
390result.SetAttribute(NameName, header.Name);
System\ServiceModel\Security\WSTrustServiceContract.cs (2)
2142if (StringComparer.Ordinal.Equals(message.Name, op.Messages.Input.Message.Name)) 2151else if (StringComparer.Ordinal.Equals(message.Name, op.Messages.Output.Message.Name))
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (1)
634if (!FeedUtils.IsXmlns(attr.Name, attr.Namespace))
System\ServiceModel\Syndication\ExtensibleSyndicationObject.cs (1)
115writer.WriteAttributeString(qname.Name, qname.Namespace, value);
System\ServiceModel\Syndication\SyndicationContent.cs (2)
105if (key.Name == Atom10Constants.TypeTag && key.Namespace == string.Empty) 112writer.WriteAttributeString(key.Name, key.Namespace, attrValue);
System\ServiceModel\Syndication\SyndicationElementExtension.cs (1)
287name = qName.Name;
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\ContractValidationHelper.cs (1)
305partName = xmlQualifiedName.Name;
System\ServiceModel\Activities\MessageBuilder.cs (1)
153partName = xmlQualifiedName.Name;
System.ServiceModel.Discovery (7)
System\ServiceModel\Discovery\ContractTypeNameCollection.cs (2)
13if ((item != null) && (item.Name == string.Empty)) 22if ((item != null) && (item.Name == string.Empty))
System\ServiceModel\Discovery\EndpointDiscoveryMetadata.cs (3)
330return ((string.CompareOrdinal(endpoint.Contract.Name, MetadataContractName.Name) == 0) && 530if ((item != null) && (item.Name == string.Empty)) 539if ((item != null) && (item.Name == string.Empty))
System\ServiceModel\Discovery\FindCriteria.cs (1)
427findCriteriaClone.ContractTypeNames.Add(new XmlQualifiedName(contractTypeName.Name, contractTypeName.Namespace));
System\ServiceModel\Discovery\SerializationUtility.cs (1)
123string encodedLocalName = XmlConvert.EncodeLocalName(qname.Name.Trim());
System.ServiceModel.Web (31)
System\ServiceModel\Dispatcher\HelpExampleGenerator.cs (31)
198context.writer.WriteAttributeString(attribute.QualifiedName.Name, attribute.QualifiedName.Namespace, content); 236context.writer.WriteStartElement(element.QualifiedName.Name, element.QualifiedName.Namespace); 239string value = contentElement.QualifiedName.Name; 248value = String.Format(CultureInfo.InvariantCulture, "{0}:{1}", prefix, contentElement.QualifiedName.Name); 297context.writer.WriteStartElement(element.QualifiedName.Name, element.QualifiedName.Namespace); 322&& simpleType.QualifiedName.Name != "guid") 355if (simpleType.QualifiedName.Name == "dateTime") 360else if (simpleType.QualifiedName.Name == "char") 365return GetConstantValue(simpleType.QualifiedName.Name); 446context.writer.WriteStartElement(element.QualifiedName.Name); 491string value = GetConstantValue(simpleType.QualifiedName.Name); 493if (simpleType.QualifiedName.Name == "base64Binary") 505else if (simpleType.QualifiedName.Name == "dateTime") 534else if (simpleType.QualifiedName.Name == "char") 540if (simpleType.QualifiedName.Name == "integer" || 541simpleType.QualifiedName.Name == "int" || 542simpleType.QualifiedName.Name == "long" || 543simpleType.QualifiedName.Name == "unsignedLong" || 544simpleType.QualifiedName.Name == "unsignedInt" || 545simpleType.QualifiedName.Name == "short" || 546simpleType.QualifiedName.Name == "unsignedShort" || 547simpleType.QualifiedName.Name == "byte" || 548simpleType.QualifiedName.Name == "unsignedByte" || 549simpleType.QualifiedName.Name == "decimal" || 550simpleType.QualifiedName.Name == "float" || 551simpleType.QualifiedName.Name == "double" || 552simpleType.QualifiedName.Name == "negativeInteger" || 553simpleType.QualifiedName.Name == "nonPositiveInteger" || 554simpleType.QualifiedName.Name == "positiveInteger" || 555simpleType.QualifiedName.Name == "nonNegativeInteger") 559else if (simpleType.QualifiedName.Name == "boolean")
System.Web.Extensions (22)
Compilation\WCFModel\AsmxEndpointPickerExtension.cs (1)
89if (String.Equals(binding.Name, portToDelete.Binding.Name, StringComparison.Ordinal))
Compilation\WCFModel\WsdlInspector.cs (2)
405return String.Compare(x.Message.Name, y.Message.Name, StringComparison.Ordinal);
Compilation\XmlSerializer\DataSvcMapFileSerializer.cs (5)
225if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id3_DataSvcMapFileImpl && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 420if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id13_Parameter && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 470if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id11_ExtensionFile && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 520if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id9_MetadataFile && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 606if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id7_MetadataSource && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) {
Compilation\XmlSerializer\SvcMapFileSerializer.cs (10)
412if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id3_SvcMapFileImpl && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 577if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id12_ExtensionFile && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 627if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id10_MetadataFile && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 713if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id8_MetadataSource && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 767if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id6_ClientOptions && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 1063if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id45_ContractMapping && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 1117if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id48_ReferencedType && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 1163if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id40_ReferencedAssembly && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 1218if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id50_ReferencedCollectionType && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 1277if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id31_NamespaceMapping && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) {
Script\Services\WebServiceTypeData.cs (4)
176return (restriction.BaseTypeName.Name == StringLocalName 245typeData = new WebServiceEnumData(XmlConvert.DecodeName(qname.Name), XmlConvert.DecodeName(qname.Namespace), Enum.GetNames(type), Enum.GetValues(type), isUlong); 248typeData = new WebServiceTypeData(XmlConvert.DecodeName(qname.Name), XmlConvert.DecodeName(qname.Namespace)); 281if (annotationElement != null && annotationElement.LocalName == annotationQualifiedName.Name && annotationElement.NamespaceURI == annotationQualifiedName.Namespace) {
System.Web.Services (132)
System\Web\Services\Description\SchemaCompiler.cs (3)
102item = Res.GetString(Res.XmlSchemaElementReference, e.RefName.ToString(), parentName.Name, parentName.Namespace); 119return Res.GetString(Res.XmlSchemaAttributeReference, a.RefName.ToString(), parentName.Name, parentName.Namespace); 129item = Res.GetString(Res.XmlSchemaContentDef, parentName.Name, parentName.Namespace, details);
System\Web\Services\Description\ServiceDescriptionImporter.cs (2)
359if (header != null && header.Message.Name == messageName) { 383if (header != null && header.Message.Name == messageName) {
System\Web\Services\Description\ServiceDescriptions.cs (5)
105return new Exception(Res.GetString(Res.WebDescriptionMissingItem, type, name.Name, name.Namespace)); 116message = sd.Messages[name.Name]; 131portType = sd.PortTypes[name.Name]; 146service = sd.Services[name.Name]; 161binding = sd.Bindings[name.Name];
System\Web\Services\Description\ServiceDescriptionSerializer.cs (88)
4136if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id3_ServiceDescription && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 4228if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id14_Service && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 4296if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id16_Port && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 4373if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id21_Soap12AddressBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id20_Item)) { 4423if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id24_SoapAddressBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id19_Item)) { 4473if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id25_HttpAddressBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id18_Item)) { 4523if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id26_Binding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 4604if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id29_OperationBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 4689if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id33_FaultBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 4759if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id34_Soap12FaultBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id20_Item)) { 4829if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id38_SoapFaultBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id19_Item)) { 4899if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id39_OutputBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 4987if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id48_Soap12HeaderBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id20_Item)) { 5059if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id51_SoapHeaderFaultBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id20_Item)) { 5125if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id52_Soap12BodyBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id20_Item)) { 5187if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id54_SoapHeaderBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id19_Item)) { 5259if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id51_SoapHeaderFaultBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id19_Item)) { 5325if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id55_SoapBodyBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id19_Item)) { 5387if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id56_MimeTextBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id45_Item)) { 5439if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id58_MimeTextMatch && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id45_Item)) { 5515if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id64_MimeMultipartRelatedBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id41_Item)) { 5567if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id65_MimePart && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id41_Item)) { 5631if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id66_MimeXmlBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id41_Item)) { 5681if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id67_MimeContentBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id41_Item)) { 5735if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id68_InputBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 5829if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id71_HttpUrlReplacementBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id18_Item)) { 5875if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id72_HttpUrlEncodedBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id18_Item)) { 5921if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id73_Soap12OperationBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id20_Item)) { 5987if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id77_SoapOperationBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id19_Item)) { 6049if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id78_HttpOperationBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id18_Item)) { 6099if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id79_Soap12Binding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id20_Item)) { 6153if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id81_SoapBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id19_Item)) { 6207if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id82_HttpBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id18_Item)) { 6257if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id84_PortType && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 6325if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id85_Operation && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 6404if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id87_OperationFault && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 6472if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id88_OperationOutput && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 6540if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id89_OperationInput && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 6608if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id90_Message && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 6676if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id91_MessagePart && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 6748if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id93_Types && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 6812if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id96_XmlSchema && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 6931if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id111_XmlSchemaAttributeGroup && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7010if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id113_XmlSchemaAnyAttribute && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7082if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id115_XmlSchemaAnnotation && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7149if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id117_XmlSchemaAppInfo && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7210if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id119_XmlSchemaDocumentation && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7284if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id122_XmlSchemaAttributeGroupRef && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7352if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id124_XmlSchemaAttribute && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7448if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id128_XmlSchemaSimpleType && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7532if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id133_XmlSchemaSimpleTypeUnion && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7612if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id135_XmlSchemaSimpleTypeRestriction && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7721if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id148_XmlSchemaMinLengthFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7793if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id150_XmlSchemaMinExclusiveFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7865if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id151_XmlSchemaWhiteSpaceFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 7937if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id152_XmlSchemaMaxExclusiveFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8009if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id153_XmlSchemaMaxInclusiveFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8081if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id154_XmlSchemaEnumerationFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8153if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id155_XmlSchemaPatternFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8225if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id156_XmlSchemaTotalDigitsFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8297if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id157_XmlSchemaLengthFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8369if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id158_XmlSchemaMaxLengthFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8441if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id159_XmlSchemaMinInclusiveFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8513if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id160_XmlSchemaFractionDigitsFacet && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8585if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id161_XmlSchemaSimpleTypeList && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8697if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id163_XmlSchemaElement && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8831if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id173_XmlSchemaKeyref && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8911if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id177_XmlSchemaXPath && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 8979if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id179_XmlSchemaUnique && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9055if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id180_XmlSchemaKey && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9131if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id181_XmlSchemaComplexType && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9250if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id188_XmlSchemaAll && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9326if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id189_XmlSchemaChoice && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9414if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id191_XmlSchemaGroupRef && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9490if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id192_XmlSchemaSequence && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9578if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id193_XmlSchemaAny && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9658if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id194_XmlSchemaSimpleContent && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9730if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id196_Item && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9809if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id197_Item && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 9929if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id198_XmlSchemaComplexContent && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 10005if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id199_Item && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 10100if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id200_Item && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 10195if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id201_XmlSchemaGroup && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 10275if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id202_XmlSchemaNotation && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 10351if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id205_XmlSchemaRedefine && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 10431if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id207_XmlSchemaImport && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 10503if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id208_XmlSchemaInclude && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id95_Item)) { 10571if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id209_Import && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) {
System\Web\Services\Description\Soap12ProtocolReflector.cs (2)
64Message m = sd.Messages[msg.Message.Name]; 159throw new InvalidOperationException(Res.GetString(Res.TheMethodsAndUseTheSameRequestElementAndSoapActionXmlns6, operation.Method.name, operation.DuplicateByRequestElement.Method.name, operation.Method.requestElementName.Name, operation.Method.requestElementName.Namespace, operation.DuplicateBySoapAction.Method.name, operation.Method.action));
System\Web\Services\Description\SoapProtocolImporter.cs (7)
565if (message == null) throw new InvalidOperationException(Res.GetString(Res.MissingMessage2, header.Message.Name, header.Message.Namespace)); 568if (part == null) throw new InvalidOperationException(Res.GetString(Res.MissingMessagePartForMessageFromNamespace3, part.Name, header.Message.Name, header.Message.Namespace)); 573if (part.Type.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.WebDescriptionPartTypeRequired, part.Name, header.Message.Name, header.Message.Namespace)); 574if (!part.Element.IsEmpty) UnsupportedOperationBindingWarning(Res.GetString(Res.WebDescriptionPartElementWarning, part.Name, header.Message.Name, header.Message.Namespace)); 579if (part.Element.IsEmpty) throw new InvalidOperationException(Res.GetString(Res.WebDescriptionPartElementRequired, part.Name, header.Message.Name, header.Message.Namespace)); 580if (!part.Type.IsEmpty) UnsupportedOperationBindingWarning(Res.GetString(Res.WebDescriptionPartTypeWarning, part.Name, header.Message.Name, header.Message.Namespace)); 1040UnsupportedOperationBindingWarning(Res.GetString(Res.SpecifyingATypeForUseLiteralMessagesIsAny, parts[0].Type.Name, parts[0].Type.Namespace));
System\Web\Services\Description\WebReferenceOptions.cs (1)
280if (xsiType == null || ((object)((System.Xml.XmlQualifiedName)xsiType).Name == (object)id1_webReferenceOptions && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) {
System\Web\Services\Description\WebServicesInteroperability.cs (5)
118violations.Add("R2304", Res.GetString(Res.Operation, op.Name, binding.Type.Name, binding.Type.Namespace)); 132violations.Add("R2718", Res.GetString(Res.OperationMissingBinding, op.Name, binding.Type.Name, binding.Type.Namespace)); 150violations.Add("R2718", Res.GetString(Res.PortTypeOperationMissing, bindingOperation.Name, binding.Name, description.TargetNamespace, binding.Type.Name, binding.Type.Namespace)); 232violations.Add("R2718", Res.GetString(Res.PortTypeOperationMissing, bindingOperation.Name, binding.Name, description.TargetNamespace, binding.Type.Name, binding.Type.Namespace)); 359AddSignature(wireSignatures, part.Element.Name, part.Element.Namespace, message, ns, violations);
System\Web\Services\Discovery\DiscoveryDocumentSerializer.cs (5)
167if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id3_DiscoveryDocument && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) { 224if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id11_SoapBinding && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id10_Item)) { 274if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id15_SchemaReference && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id8_Item)) { 324if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id18_ContractReference && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id6_Item)) { 374if (xsiType == null || ((object) ((System.Xml.XmlQualifiedName)xsiType).Name == (object)id20_DiscoveryDocumentReference && (object) ((System.Xml.XmlQualifiedName)xsiType).Namespace == (object)id2_Item)) {
System\Web\Services\Protocols\Soap11ServerProtocol.cs (6)
82throw new SoapException(Res.GetString(Res.TheRequestElementXmlnsWasNotRecognized2, ((XmlQualifiedName) methodKey).Name, ((XmlQualifiedName) methodKey).Namespace), new XmlQualifiedName(Soap.Code.Client, Soap.Namespace)); 110writer.WriteQualifiedName(code.Name, code.Namespace); 150if (code.Name == Soap12.Code.Receiver) 152else if (code.Name == Soap12.Code.Sender) 154else if (code.Name == Soap12.Code.MustUnderstand) 156else if (code.Name == Soap12.Code.VersionMismatch)
System\Web\Services\Protocols\Soap12ServerProtocol.cs (6)
95throw new SoapException(Res.GetString(Res.TheRequestElementXmlnsWasNotRecognized2, requestElement.Name, requestElement.Namespace), Soap12FaultCodes.SenderFaultCode); 168writer.WriteQualifiedName(code.Name, code.Namespace); 182if (code.Name == Soap.Code.Server) 184else if (code.Name == Soap.Code.Client) 186else if (code.Name == Soap.Code.MustUnderstand) 188else if (code.Name == Soap.Code.VersionMismatch)
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
204if (clientType.Binding.Name == soapBinding.Binding.Name &&
System\Web\Services\Protocols\SoapServerProtocol.cs (1)
188throw new SoapException(Res.GetString(Res.TheMethodsAndUseTheSameRequestElementXmlns4, serverMethod.methodInfo.Name, duplicateMethod.methodInfo.Name, soapMethod.requestElementName.Name, soapMethod.requestElementName.Namespace), new XmlQualifiedName(Soap.Code.Client, Soap.Namespace));
System.Workflow.ComponentModel (25)
AuthoringOM\Serializer\ExtendedPropertyInfo.cs (4)
201if (qualifiedPropertyName.Name.Equals(xmlQualifiedName.Name, StringComparison.Ordinal) 222if (qualifiedPropertyName.Name.Equals(xmlQualifiedName.Name, StringComparison.Ordinal)
AuthoringOM\Serializer\MarkupExtensionSerializer.cs (2)
44writer.WriteQualifiedName(qualifiedName.Name, qualifiedName.Namespace); 82writer.WriteQualifiedName(XmlConvert.EncodeName(typeQualifiedName.Name), typeQualifiedName.Namespace);
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (2)
215string fullTypeName = xmlQualifiedName.Name; 217fullTypeName = clrNamespace + "." + xmlQualifiedName.Name;
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (17)
737propertyName = qualifiedName.Name + "." + dependencyProperty.Name; 1685string typeName = xmlQualifiedName.Name; 1689return xmlQualifiedName.Namespace + "." + xmlQualifiedName.Name; 1697string fullTypeName = xmlQualifiedName.Name; 1699fullTypeName = (dotNetnamespaceName + "." + xmlQualifiedName.Name); 1718if (type == null && !xmlQualifiedName.Name.EndsWith("Extension", StringComparison.Ordinal)) 1720string typename = xmlQualifiedName.Name + "Extension"; 2358tagName = qualifiedName.Name + "." + dependencyProperty.Name; 2368tagName = qualifiedName.Name; 2374tagName = qualifiedName.Name + "." + ((MemberInfo)property).Name; 2386tagName = qualifiedName.Name; 3131string typeName = xmlQualifiedName.Name; 3152if (xmlQualifiedName.Name.Equals(typeof(Array).Name) || string.Equals(xmlQualifiedName.Name, "Null", StringComparison.Ordinal) || string.Equals(xmlQualifiedName.Name, typeof(NullExtension).Name, StringComparison.Ordinal) || string.Equals(xmlQualifiedName.Name, "Type", StringComparison.Ordinal) || string.Equals(xmlQualifiedName.Name, typeof(TypeExtension).Name, StringComparison.Ordinal))
System.Xml (440)
System\Xml\Cache\XPathDocumentBuilder.cs (1)
286if (this.pageSibling[this.idxSibling].LocalName == this.idAttrName.Name &&
System\Xml\Core\XmlTextReaderImpl.cs (1)
8247string localName = nameTable.Add( attrDef.Name.Name );
System\Xml\Core\XmlWriterSettings.cs (1)
801writer.Write(qname.Name);
System\Xml\Dom\DocumentSchemaValidator.cs (1)
385attr = document.CreateDefaultAttribute(GetDefaultPrefix(attrQName.Namespace), attrQName.Name, attrQName.Namespace);
System\Xml\Dom\XmlDocument.cs (2)
549string attrLocalname = attdef.Name.Name; 1406if ( attdef.Name.Name == attrLocalname ) {
System\Xml\Dom\XmlLoader.cs (7)
553dtNode.Notations.SetNamedItem(new XmlNotation( scNot.Name.Name, scNot.Pubid, scNot.SystemLiteral, doc )); 560XmlEntity ent = new XmlEntity( scEnt.Name.Name, scEnt.Text, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name, doc ); 568XmlEntity ent = new XmlEntity( scEnt.Name.Name, scEnt.Text, scEnt.Pubid, scEnt.Url, scEnt.NData.IsEmpty ? null : scEnt.NData.Name, doc ); 588doc.AddXmlName(elementDecl.Prefix, elementDecl.Name.Name, string.Empty, null), 589doc.AddAttrXmlName(attdef.Prefix, attdef.Name.Name, string.Empty, null));
System\Xml\Schema\AutoValidator.cs (1)
88else if (Ref.Equal(objectNs, SchemaNames.QnDtDt.Namespace) && Ref.Equal(objectName, SchemaNames.QnDtDt.Name)) {
System\Xml\Schema\BaseProcessor.cs (1)
60if (qname.Name.Length == 0) {
System\Xml\Schema\DataTypeImplementation.cs (2)
216DatatypeImplementation dt = FromTypeName(qname.Name); 230dt = FromTypeName(qname.Name);
System\Xml\Schema\DtdParser.cs (23)
650if ( attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals( "xml" ) && attrDef.Name.Name == "space" ) { 673if ( attrDef.Name.Name == "space" ) { 698else if ( attrDef.Name.Name == "lang" ) { 892SendValidationEvent( curPos - name.Name.Length, XmlSeverityType.Error, Res.Sch_DupElementDecl, GetNameString() ); 1332string notationName = entity.NData.Name; 1366if ( !schemaInfo.Notations.ContainsKey( notationName.Name ) ) { 1368undeclaredNotations.Remove( notationName.Name ); 1371schemaInfo.Notations.Add(notation.Name.Name, notation); 1377SendValidationEvent( curPos - notationName.Name.Length, XmlSeverityType.Error, Res.Sch_DupNotation, notationName.Name ); 3099Throw( curPos - entityName.Name.Length - 1, Res.Xml_InvalidParEntityRef ); 3107Throw( curPos - entityName.Name.Length - 1, paramEntity ? Res.Xml_RecursiveParEntity : Res.Xml_RecursiveGenEntity, entityName.Name ); 3186SendValidationEvent( curPos - entityName.Name.Length - 1, XmlSeverityType.Error, Res.Xml_UndeclaredParEntity, entityName.Name ); 3194SendValidationEvent( curPos - entityName.Name.Length - 1, XmlSeverityType.Error, Res.Xml_UndeclaredEntity, entityName.Name ); 3199Throw( curPos - entityName.Name.Length - 1, Res.Xml_UndeclaredEntity, entityName.Name ); 3206Throw( curPos - entityName.Name.Length - 1, Res.Xml_UnparsedEntityRef, entityName.Name ); 3210Throw( curPos - entityName.Name.Length - 1, Res.Xml_ExternalEntityInAttValue, entityName.Name );
System\Xml\Schema\DtdParserAsync.cs (13)
295if ( attrDef != null && attrDef.Prefix.Length > 0 && attrDef.Prefix.Equals( "xml" ) && attrDef.Name.Name == "space" ) { 318if ( attrDef.Name.Name == "space" ) { 343else if ( attrDef.Name.Name == "lang" ) { 537SendValidationEvent( curPos - name.Name.Length, XmlSeverityType.Error, Res.Sch_DupElementDecl, GetNameString() ); 958string notationName = entity.NData.Name; 992if ( !schemaInfo.Notations.ContainsKey( notationName.Name ) ) { 994undeclaredNotations.Remove( notationName.Name ); 997schemaInfo.Notations.Add(notation.Name.Name, notation); 1003SendValidationEvent( curPos - notationName.Name.Length, XmlSeverityType.Error, Res.Sch_DupNotation, notationName.Name ); 2465Throw( curPos - entityName.Name.Length - 1, Res.Xml_InvalidParEntityRef ); 2473Throw( curPos - entityName.Name.Length - 1, paramEntity ? Res.Xml_RecursiveParEntity : Res.Xml_RecursiveGenEntity, entityName.Name );
System\Xml\Schema\DtdValidator.cs (2)
359string n = qname.Name; 420context.LocalName = elementName.Name;
System\Xml\Schema\Inference\Infer.cs (7)
1083else if ((el.RefName.Name == xtr.LocalName) && (el.RefName.Namespace == xtr.NamespaceURI)) 1114else if (el.RefName.Name == xtr.LocalName && el.RefName.Namespace == xtr.NamespaceURI) 1146else if (el.RefName.Name == xtr.LocalName && el.RefName.Namespace == xtr.NamespaceURI) 1377if (schemaAttribute.RefName.Name == attributeName && schemaAttribute.RefName.Namespace == nsURI) { 1393if (xse.RefName.Name == elementName && xse.RefName.Namespace == nsURI) 1421if (attr.RefName.Name.Length == 0) { //If the attribute is not present in this instance, make it optional 1427if (null == FindAttributeRef(attributesInInstance, attr.RefName.Name, attr.RefName.Namespace)) {
System\Xml\Schema\Preprocessor.cs (2)
1420SendValidationEvent(Res.Sch_NoRestOrExtQName, complexType.QualifiedName.Name, complexType.QualifiedName.Namespace, complexType); 1463SendValidationEvent(Res.Sch_NoRestOrExtQName, complexType.QualifiedName.Name, complexType.QualifiedName.Namespace, complexType);
System\Xml\Schema\SchemaAttDef.cs (1)
68get { return ((SchemaAttDef)this).Name.Name; }
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
236if (!schemaInfo.Notations.ContainsKey(no.Name.Name)) { 237schemaInfo.Notations.Add(no.Name.Name, no); 1828throw new XmlSchemaException(Res.Sch_UndeclaredEquivClass, xe.SubstitutionGroup.Name.ToString(CultureInfo.InvariantCulture), xe);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
1106SendValidationEvent(Res.Sch_NoRestOrExtQName, complexType.QualifiedName.Name, complexType.QualifiedName.Namespace, complexType); 1149SendValidationEvent(Res.Sch_NoRestOrExtQName, complexType.QualifiedName.Name, complexType.QualifiedName.Namespace, complexType);
System\Xml\Schema\SchemaElementDecl.cs (1)
74get { return ((SchemaElementDecl)this).Name.Name; }
System\Xml\Schema\SchemaEntity.cs (1)
42get { return this.Name.Name; }
System\Xml\Schema\SchemaInfo.cs (2)
315if (!Notations.ContainsKey(notation.Name.Name)) { 316Notations.Add(notation.Name.Name, notation);
System\Xml\Schema\SchemaSetCompiler.cs (3)
132if (!schemaInfo.Notations.ContainsKey(no.Name.Name)) { 133schemaInfo.Notations.Add(no.Name.Name, no); 2174throw new XmlSchemaException(Res.Sch_UndeclaredEquivClass, xe.SubstitutionGroup.Name.ToString(CultureInfo.InvariantCulture), xe);
System\Xml\Schema\XdrBuilder.cs (19)
447qnameValue = new XmlQualifiedName(qnameValue.Name, _TargetNamespace); 450qnameValue = new XmlQualifiedName(qnameValue.Name); 468XmlQualifiedName.ToString(qname.Name, prefix)); 624gname = new XmlQualifiedName(gname.Name, builder._TargetNamespace); 633builder.SendValidationEvent(Res.Sch_UndeclaredAttribute, gname.Name); 639builder.SendValidationEvent(Res.Sch_UndeclaredElement, XmlQualifiedName.ToString(ed.Name.Name, ed.Prefix)); 675builder.SendValidationEvent(Res.Sch_DupElementDecl, XmlQualifiedName.ToString(qname.Name, prefix)); 937builder.SendValidationEvent(Res.Sch_DupAttribute, XmlQualifiedName.ToString(qname.Name, prefix)); 942qname = new XmlQualifiedName(qname.Name, builder._TargetNamespace); 948builder.SendValidationEvent(Res.Sch_DupAttribute, XmlQualifiedName.ToString(qname.Name, prefix)); 964builder._AttributeDef._AttDef.Datatype = builder.CheckDatatype(qname.Name); 1146gname = new XmlQualifiedName(qname.Name, builder._TargetNamespace); 1153builder.SendValidationEvent(Res.Sch_UndeclaredAttribute, XmlQualifiedName.ToString(qname.Name, prefix)); 1376SendValidationEvent(Res.Sch_UnknownOrder, qname.Name); 1402if (qname.Name == "yes") { 1405else if (qname.Name != "no") { 1523SendValidationEvent(Res.Sch_UnknownContent, qname.Name); 1535SendValidationEvent(Res.Sch_UnknownModel, qname.Name); 1548XmlQualifiedName.ToString(_ElementDef._ElementDecl.Name.Name, _ElementDef._ElementDecl.Prefix));
System\Xml\Schema\XdrValidator.cs (3)
84if (SchemaNames.IsXDRRoot(elementName.Name, elementName.Namespace) && reader.Depth > 0) { 181Ref.Equal(objectName, SchemaNames.QnDtDt.Name) 542context.LocalName = elementName.Name;
System\Xml\Schema\XmlSchemaObjectTable.cs (1)
140if (localName == qname.Name && ns == qname.Namespace) {
System\Xml\Schema\XmlSchemaSet.cs (1)
1296if (qname.Name.Length == 0) {
System\Xml\Schema\XmlSchemaValidator.cs (10)
594AttributeIdentityConstraints(attQName.Name, attQName.Namespace, typedVal, attValue.ToString(), datatype); 912attrData.LocalName = nameTable.Add(attdef.Name.Name); 944AttributeIdentityConstraints(attdef.Name.Name, attdef.Name.Namespace, attdef.DefaultValueTyped, attdef.DefaultValueRaw, datatype); 1296context.LocalName = elementName.Name; 2230if (name.Name == "*") { //Any 2235builder.Append(Res.GetString(Res.Sch_ElementNameAndNamespace, name.Name, name.Namespace)); 2238builder.Append(Res.GetString(Res.Sch_ElementName, name.Name)); 2248if (name.Name == "*") { //rare case where ns of element and that of Any match 2258subBuilder.Append(name.Name); 2297return BuildElementName(qname.Name, qname.Namespace);
System\Xml\Schema\XmlValueConverter.cs (7)
555return name.Name; 558return "xs:" + name.Name; 561return "xdt:" + name.Name; 564return "{" + name.Namespace + "}" + name.Name; 779return string.Concat("{", qname.Namespace, "}", qname.Name); 785return (prefix.Length != 0) ? string.Concat(prefix, ":", qname.Name) : qname.Name;
System\Xml\Schema\XsdBuilder.cs (1)
737this.namespaces.Add((name == this.schemaNames.QnXmlNs.Name) ? string.Empty : name, value);
System\Xml\Schema\XsdValidator.cs (4)
156if (IsXSDRoot(elementName.Name, elementName.Namespace) && reader.Depth > 0) { 338XmlSchemaSimpleType simpleType = DatatypeImplementation.GetSimpleTypeFromXsdType(new XmlQualifiedName(xsiType.Name,NsXs)); 450AttributeIdentityConstraints(attdef.Name.Name, attdef.Name.Namespace, UnWrapUnion(attdef.DefaultValueTyped), attdef.DefaultValueRaw, attdef); 657context.LocalName = elementName.Name;
System\Xml\Serialization\ImportContext.cs (1)
148Warnings.Add(Res.GetString(Res.XmlMismatchSchemaObjects, item.GetType().Name, qname.Name, qname.Namespace));
System\Xml\Serialization\Mappings.cs (2)
960this.TypeName = xsiType.Name; 1178throw new InvalidOperationException(Res.GetString(Res.XmlGetSchemaTypeMissing, getSchemaMethod.DeclaringType.FullName, getSchemaMethod.Name, xsiType.Name, xsiType.Namespace));
System\Xml\Serialization\NameTable.cs (3)
38Add(qname.Name, qname.Namespace, value); 48return table[new NameKey(qname.Name, qname.Namespace)]; 51table[new NameKey(qname.Name, qname.Namespace)] = value;
System\Xml\Serialization\SchemaImporter.cs (1)
195throw new InvalidOperationException(Res.GetString(error, name.Name, name.Namespace));
System\Xml\Serialization\SchemaObjectWriter.cs (2)
45return String.Compare(qn1.Name, qn2.Name, StringComparison.Ordinal);
System\Xml\Serialization\SoapSchemaExporter.cs (1)
222attribute.Value = qname.Namespace + ":" + qname.Name + "[]";
System\Xml\Serialization\SoapSchemaImporter.cs (21)
67throw new InvalidOperationException(Res.GetString(Res.XmlPrimitiveBaseType, name.Name, name.Namespace, baseType.FullName)); 70accessor.Name = name.Name; 162throw new InvalidOperationException(Res.GetString(Res.RefSyntaxNotSupportedForElements0, element.RefName.Name, element.RefName.Namespace)); 167throw new InvalidOperationException(Res.GetString(Res.XmlElementHasNoName, parentType.Name, parentType.Namespace)); 190throw new InvalidOperationException(Res.GetString(Res.XmlInvalidSchemaElementType, parentType.Name, parentType.Namespace, element.Name)); 194throw new InvalidOperationException(Res.GetString(Res.XmlInvalidSchemaElementType, parentType.Name, parentType.Namespace, element.Name)); 199throw new InvalidOperationException(Res.GetString(Res.XmlInvalidSubstitutionGroupUse, parentType.Name, parentType.Namespace)); 203throw new InvalidOperationException(Res.GetString(Res.XmlElementMissingType, parentType.Name, parentType.Namespace, element.Name)); 229if (name.Name == Soap.UrType && name.Namespace == XmlSchema.Namespace) 237mapping = ImportDataType((XmlSchemaSimpleType)type, name.Namespace, name.Name, false); 274throw new InvalidOperationException(Res.GetString(Res.XmlInvalidSchemaElementType, parentType.Name, parentType.Namespace, element.Name)); 353throw new InvalidOperationException(Res.GetString(Res.XmlSoapInvalidChoice, parentType.Name, parentType.Namespace)); 362throw new InvalidOperationException(Res.GetString(Res.XmlSoapUnsupportedGroupRef, parentType.Name, parentType.Namespace)); 367throw new InvalidOperationException(Res.GetString(Res.XmlSoapUnsupportedGroupRepeat, parentType.Name, parentType.Namespace)); 371throw new InvalidOperationException(Res.GetString(Res.XmlSoapUnsupportedGroupNested, parentType.Name, parentType.Namespace)); 375throw new InvalidOperationException(Res.GetString(Res.XmlSoapUnsupportedGroupAny, parentType.Name, parentType.Namespace)); 416if (!(type.DerivedFrom.Name == Soap.Array && type.DerivedFrom.Namespace == Soap.Encoding)) return null; 430if (attribute != null && attribute.RefName.Name == Soap.ArrayType && attribute.RefName.Namespace == Soap.Encoding) { 447TypeDesc td = Scope.GetTypeDesc(typeName.Name, typeName.Namespace); 458itemAccessor.Name = typeName.Name; 628TypeDesc typeDesc = Scope.GetTypeDesc(name.Name, name.Namespace);
System\Xml\Serialization\XmlReflectionImporter.cs (1)
485serializableMapping.TypeName = qname.Name;
System\Xml\Serialization\XmlSchemaImporter.cs (18)
104throw new InvalidOperationException(Res.GetString(Res.XmlBadBaseElement, name.Name, name.Namespace, baseType.FullName)); 137accessor.Name = typeName.Name; 157throw new InvalidOperationException(Res.GetString(Res.XmlBadBaseType, typeName.Name, typeName.Namespace, baseType.FullName)); 302throw new InvalidOperationException(Res.GetString(Res.XmlElementHasNoName, parentType.Name, parentType.Namespace)); 385typeName = FindExtendedType(qname.Name, qname.Namespace, context, compileUnit, mainNamespace, out typeOwner); 405throw new InvalidOperationException(Res.GetString(Res.XmlImporterExtensionBadTypeName, typeOwner.GetType().FullName, qname.Name, qname.Namespace, typeName)); 416mapping.TypeDesc = mapping.TypeDesc.CreateMappedTypeDesc(new MappedTypeDesc(typeName, qname.Name, qname.Namespace, type, context, typeOwner, mainNamespace, compileUnit.ReferencedAssemblies)); 464if (name.Name == Soap.UrType && name.Namespace == XmlSchema.Namespace) 475mapping = ImportType((XmlSchemaComplexType)type, name.Namespace, name.Name, desiredMappingType, baseType, flags); 478mapping = ImportDataType((XmlSchemaSimpleType)type, name.Namespace, name.Name, baseType, flags, false); 568throw new InvalidOperationException(Res.GetString(Res.XmlTypeUsedTwice, type.QualifiedName.Name, type.QualifiedName.Namespace)); 1022equivalentElement.SubstitutionGroup.Name == element.Name) { 1479accessor.Name = name.Name; 1706throw new InvalidOperationException(Res.GetString(Res.XmlMissingGroup, name.Name)); 1714throw new InvalidOperationException(Res.GetString(Res.XmlMissingAttributeGroup, name.Name)); 1754TypeDesc typeDesc = Scope.GetTypeDesc(name.Name, name.Namespace, flags); 1764if (name.Name == Soap.Array && name.Namespace == Soap.Encoding) { 1794throw new InvalidOperationException(Res.GetString(Res.XmlMissingAttribute, name.Name));
System\Xml\Serialization\XmlSchemas.cs (3)
520item = Res.GetString(Res.XmlSchemaElementReference, e.RefName.ToString(), parentName.Name, parentName.Namespace); 537return Res.GetString(Res.XmlSchemaAttributeReference, a.RefName.ToString(), parentName.Name, parentName.Namespace); 547item = Res.GetString(Res.XmlSchemaContentDef, parentName.Name, parentName.Namespace, null);
System\Xml\Serialization\XmlSerializationReader.cs (239)
292if ((object) typeName.Name == (object) stringID || 293(object) typeName.Name == (object) anyURIID || 294(object) typeName.Name == (object) durationID || 295(object) typeName.Name == (object) ENTITYID || 296(object) typeName.Name == (object) ENTITIESID || 297(object) typeName.Name == (object) gDayID || 298(object) typeName.Name == (object) gMonthID || 299(object) typeName.Name == (object) gMonthDayID || 300(object) typeName.Name == (object) gYearID || 301(object) typeName.Name == (object) gYearMonthID || 302(object) typeName.Name == (object) IDID || 303(object) typeName.Name == (object) IDREFID || 304(object) typeName.Name == (object) IDREFSID || 305(object) typeName.Name == (object) integerID || 306(object) typeName.Name == (object) languageID || 307(object) typeName.Name == (object) NameID || 308(object) typeName.Name == (object) NCNameID || 309(object) typeName.Name == (object) NMTOKENID || 310(object) typeName.Name == (object) NMTOKENSID || 311(object) typeName.Name == (object) negativeIntegerID || 312(object) typeName.Name == (object) nonPositiveIntegerID || 313(object) typeName.Name == (object) nonNegativeIntegerID || 314(object) typeName.Name == (object) normalizedStringID || 315(object) typeName.Name == (object) NOTATIONID || 316(object) typeName.Name == (object) positiveIntegerID || 317(object) typeName.Name == (object) tokenID) 319else if ((object) typeName.Name == (object) intID) 321else if ((object) typeName.Name == (object) booleanID) 323else if ((object) typeName.Name == (object) shortID) 325else if ((object) typeName.Name == (object) longID) 327else if ((object) typeName.Name == (object) floatID) 329else if ((object) typeName.Name == (object) doubleID) 331else if ((object) typeName.Name == (object) decimalID) 333else if ((object) typeName.Name == (object) dateTimeID) 335else if ((object) typeName.Name == (object) qnameID) 337else if ((object) typeName.Name == (object) dateID) 339else if ((object) typeName.Name == (object) timeID) 341else if ((object) typeName.Name == (object) hexBinaryID) 343else if ((object)typeName.Name == (object)base64BinaryID) 345else if ((object)typeName.Name == (object)unsignedByteID) 347else if ((object) typeName.Name == (object) byteID) 349else if ((object) typeName.Name == (object) unsignedShortID) 351else if ((object) typeName.Name == (object) unsignedIntID) 353else if ((object) typeName.Name == (object) unsignedLongID) 359if ((object) typeName.Name == (object) stringID || 360(object) typeName.Name == (object) anyURIID || 361(object) typeName.Name == (object) durationID || 362(object) typeName.Name == (object) ENTITYID || 363(object) typeName.Name == (object) ENTITIESID || 364(object) typeName.Name == (object) gDayID || 365(object) typeName.Name == (object) gMonthID || 366(object) typeName.Name == (object) gMonthDayID || 367(object) typeName.Name == (object) gYearID || 368(object) typeName.Name == (object) gYearMonthID || 369(object) typeName.Name == (object) IDID || 370(object) typeName.Name == (object) IDREFID || 371(object) typeName.Name == (object) IDREFSID || 372(object) typeName.Name == (object) integerID || 373(object) typeName.Name == (object) languageID || 374(object) typeName.Name == (object) NameID || 375(object) typeName.Name == (object) NCNameID || 376(object) typeName.Name == (object) NMTOKENID || 377(object) typeName.Name == (object) NMTOKENSID || 378(object) typeName.Name == (object) negativeIntegerID || 379(object) typeName.Name == (object) nonPositiveIntegerID || 380(object) typeName.Name == (object) nonNegativeIntegerID || 381(object) typeName.Name == (object) normalizedStringID || 382(object) typeName.Name == (object) NOTATIONID || 383(object) typeName.Name == (object) positiveIntegerID || 384(object) typeName.Name == (object) tokenID) 386else if ((object) typeName.Name == (object) intID) 388else if ((object) typeName.Name == (object) booleanID) 390else if ((object) typeName.Name == (object) shortID) 392else if ((object) typeName.Name == (object) longID) 394else if ((object) typeName.Name == (object) floatID) 396else if ((object) typeName.Name == (object) doubleID) 398else if ((object) typeName.Name == (object) oldDecimalID) 400else if ((object) typeName.Name == (object) oldTimeInstantID) 402else if ((object) typeName.Name == (object) qnameID) 404else if ((object) typeName.Name == (object) dateID) 406else if ((object) typeName.Name == (object) timeID) 408else if ((object) typeName.Name == (object) hexBinaryID) 410else if ((object) typeName.Name == (object) byteID) 412else if ((object) typeName.Name == (object) unsignedShortID) 414else if ((object) typeName.Name == (object) unsignedIntID) 416else if ((object) typeName.Name == (object) unsignedLongID) 422if ((object) typeName.Name == (object) charID) 424else if ((object) typeName.Name == (object) guidID) 523if (!IsPrimitiveNamespace(type.Namespace) || (object)type.Name == (object)urTypeID) 527if ((object) type.Name == (object) stringID || 528(object) type.Name == (object) normalizedStringID) 530else if ((object) type.Name == (object) anyURIID || 531(object) type.Name == (object) durationID || 532(object) type.Name == (object) ENTITYID || 533(object) type.Name == (object) ENTITIESID || 534(object) type.Name == (object) gDayID || 535(object) type.Name == (object) gMonthID || 536(object) type.Name == (object) gMonthDayID || 537(object) type.Name == (object) gYearID || 538(object) type.Name == (object) gYearMonthID || 539(object) type.Name == (object) IDID || 540(object) type.Name == (object) IDREFID || 541(object) type.Name == (object) IDREFSID || 542(object) type.Name == (object) integerID || 543(object) type.Name == (object) languageID || 544(object) type.Name == (object) NameID || 545(object) type.Name == (object) NCNameID || 546(object) type.Name == (object) NMTOKENID || 547(object) type.Name == (object) NMTOKENSID || 548(object) type.Name == (object) negativeIntegerID || 549(object) type.Name == (object) nonPositiveIntegerID || 550(object) type.Name == (object) nonNegativeIntegerID || 551(object) type.Name == (object) NOTATIONID || 552(object) type.Name == (object) positiveIntegerID || 553(object) type.Name == (object) tokenID) 555else if ((object) type.Name == (object) intID) 557else if ((object) type.Name == (object) booleanID) 559else if ((object) type.Name == (object) shortID) 561else if ((object) type.Name == (object) longID) 563else if ((object)type.Name == (object)floatID) 565else if ((object)type.Name == (object)doubleID) 567else if ((object)type.Name == (object)decimalID) 569else if ((object)type.Name == (object)dateTimeID) 571else if ((object) type.Name == (object) qnameID) 573else if ((object) type.Name == (object) dateID) 575else if ((object) type.Name == (object) timeID) 577else if ((object) type.Name == (object) unsignedByteID) 579else if ((object) type.Name == (object) byteID) 581else if ((object) type.Name == (object) unsignedShortID) 583else if ((object) type.Name == (object) unsignedIntID) 585else if ((object) type.Name == (object) unsignedLongID) 587else if ((object) type.Name == (object) hexBinaryID) 589else if ((object) type.Name == (object) base64BinaryID) 591else if ((object) type.Name == (object)base64ID && ((object)type.Namespace == (object)soapNsID || (object)type.Namespace == (object)soap12NsID)) 597if ((object) type.Name == (object) stringID || 598(object) type.Name == (object) normalizedStringID) 600else if ((object) type.Name == (object) anyURIID || 601(object) type.Name == (object) anyURIID || 602(object) type.Name == (object) durationID || 603(object) type.Name == (object) ENTITYID || 604(object) type.Name == (object) ENTITIESID || 605(object) type.Name == (object) gDayID || 606(object) type.Name == (object) gMonthID || 607(object) type.Name == (object) gMonthDayID || 608(object) type.Name == (object) gYearID || 609(object) type.Name == (object) gYearMonthID || 610(object) type.Name == (object) IDID || 611(object) type.Name == (object) IDREFID || 612(object) type.Name == (object) IDREFSID || 613(object) type.Name == (object) integerID || 614(object) type.Name == (object) languageID || 615(object) type.Name == (object) NameID || 616(object) type.Name == (object) NCNameID || 617(object) type.Name == (object) NMTOKENID || 618(object) type.Name == (object) NMTOKENSID || 619(object) type.Name == (object) negativeIntegerID || 620(object) type.Name == (object) nonPositiveIntegerID || 621(object) type.Name == (object) nonNegativeIntegerID || 622(object) type.Name == (object) NOTATIONID || 623(object) type.Name == (object) positiveIntegerID || 624(object) type.Name == (object) tokenID) 626else if ((object) type.Name == (object) intID) 628else if ((object) type.Name == (object) booleanID) 630else if ((object) type.Name == (object) shortID) 632else if ((object) type.Name == (object) longID) 634else if ((object)type.Name == (object)floatID) 636else if ((object)type.Name == (object)doubleID) 638else if ((object)type.Name == (object) oldDecimalID) 640else if ((object)type.Name == (object) oldTimeInstantID) 642else if ((object) type.Name == (object) qnameID) 644else if ((object) type.Name == (object) dateID) 646else if ((object) type.Name == (object) timeID) 648else if ((object) type.Name == (object) unsignedByteID) 650else if ((object) type.Name == (object) byteID) 652else if ((object) type.Name == (object) unsignedShortID) 654else if ((object) type.Name == (object) unsignedIntID) 656else if ((object) type.Name == (object) unsignedLongID) 662if ((object) type.Name == (object) charID) 664else if ((object) type.Name == (object) guidID) 666else if ((object)type.Name == (object)timeSpanID && LocalAppContextSwitches.EnableTimeSpanSerialization) 680if (!IsPrimitiveNamespace(type.Namespace) || (object)type.Name == (object)urTypeID) { 685if ((object) type.Name == (object) stringID || 686(object) type.Name == (object) anyURIID || 687(object) type.Name == (object) durationID || 688(object) type.Name == (object) ENTITYID || 689(object) type.Name == (object) ENTITIESID || 690(object) type.Name == (object) gDayID || 691(object) type.Name == (object) gMonthID || 692(object) type.Name == (object) gMonthDayID || 693(object) type.Name == (object) gYearID || 694(object) type.Name == (object) gYearMonthID || 695(object) type.Name == (object) IDID || 696(object) type.Name == (object) IDREFID || 697(object) type.Name == (object) IDREFSID || 698(object) type.Name == (object) integerID || 699(object) type.Name == (object) languageID || 700(object) type.Name == (object) NameID || 701(object) type.Name == (object) NCNameID || 702(object) type.Name == (object) NMTOKENID || 703(object) type.Name == (object) NMTOKENSID || 704(object) type.Name == (object) negativeIntegerID || 705(object) type.Name == (object) nonPositiveIntegerID || 706(object) type.Name == (object) nonNegativeIntegerID || 707(object) type.Name == (object) normalizedStringID || 708(object) type.Name == (object) NOTATIONID || 709(object) type.Name == (object) positiveIntegerID || 710(object) type.Name == (object) tokenID) 712else if ((object) type.Name == (object) intID) { 715else if ((object) type.Name == (object) booleanID) 717else if ((object) type.Name == (object) shortID) 719else if ((object) type.Name == (object) longID) 721else if ((object)type.Name == (object)floatID) 723else if ((object)type.Name == (object)doubleID) 725else if ((object)type.Name == (object)decimalID) 727else if ((object)type.Name == (object)dateTimeID) 729else if ((object) type.Name == (object) qnameID) 731else if ((object) type.Name == (object) dateID) 733else if ((object) type.Name == (object) timeID) 735else if ((object) type.Name == (object) unsignedByteID) 737else if ((object) type.Name == (object) byteID) 739else if ((object) type.Name == (object) unsignedShortID) 741else if ((object) type.Name == (object) unsignedIntID) 743else if ((object) type.Name == (object) unsignedLongID) 745else if ((object) type.Name == (object) hexBinaryID) 747else if ((object) type.Name == (object) base64BinaryID) 749else if ((object) type.Name == (object)base64ID && ((object)type.Namespace == (object)soapNsID || (object)type.Namespace == (object)soap12NsID)) 755if ((object) type.Name == (object) charID) 757else if ((object) type.Name == (object) guidID) 759else if ((object)type.Name == (object)timeSpanID && LocalAppContextSwitches.EnableTimeSpanSerialization) 935if (qname.Name != name) throw new InvalidOperationException(Res.GetString(Res.XmlInvalidArrayTypeName, qname.Name, name, CurrentTag())); 1250return new InvalidOperationException(Res.GetString(Res.XmlUnknownType, type.Name, type.Namespace, CurrentTag())); 1598array.SetValue(ReadReferencedElement(qname.Name, qname.Namespace), arrayLength); 1625type = qname.Name; 4429WriteQNameEqual("tser", sm.XsiType.Name, sm.XsiType.Namespace); 4481WriteQNameEqual("tser", derived.XsiType.Name, derived.XsiType.Namespace); 4502WriteQuotedCSharpString(derived.XsiType.Name); 4506WriteQuotedCSharpString(head.XsiType.Name); 4519WriteQuotedCSharpString(derived.XsiType.Name);
System\Xml\Serialization\XmlSerializationReaderILGen.cs (5)
3244WriteQNameEqual("tser", sm.XsiType.Name, sm.XsiType.Namespace); 3309WriteQNameEqual("tser", derived.XsiType.Name, derived.XsiType.Namespace); 3348ilg.Ldstr(derived.XsiType.Name); 3350ilg.Ldstr(head.XsiType.Name); 3367ilg.Ldstr(derived.XsiType.Name);
System\Xml\Serialization\XmlSerializationWriter.cs (8)
388return GetQualifiedName(EscapeName ? XmlConvert.EncodeLocalName(xmlQualifiedName.Name) : xmlQualifiedName.Name, xmlQualifiedName.Namespace); 948WriteXsiType(xsiType.Name, xsiType.Namespace); 989WriteXsiType(xsiType.Name, xsiType.Namespace); 999WriteXsiType(xsiType.Name, xsiType.Namespace); 1041WriteXsiType(xsiType.Name, xsiType.Namespace); 1082typeName = qualName.Name; 1104typeName = qualName.Name;
System\Xml\Serialization\XmlSerializerNamespaces.cs (1)
47Add(qname.Name, qname.Namespace);
System\Xml\XmlQualifiedName.cs (11)
92hash = hashCodeDelegate(Name, Name.Length, 0); 106get { return Name.Length == 0 && Namespace.Length == 0; } 114return Namespace.Length == 0 ? Name : string.Concat(Namespace, ":" , Name); 130return (Name == qname.Name && Namespace == qname.Namespace); 146return (a.Name == b.Name && a.Namespace == b.Namespace); 274i = String.CompareOrdinal(a.Name, b.Name);
System.Xml.Linq (1)
System\Xml\Linq\XNodeValidator.cs (1)
234a = new XAttribute(XNamespace.Get(sa.QualifiedName.Namespace).GetName(sa.QualifiedName.Name), GetDefaultValue(sa));