Base:
method
ToString
System.Object.ToString()
1 override of ToString
System.Data.SqlXml (1)
System\Xml\Xsl\XmlQualifiedNameTest.cs (1)
108public override string ToString() {
204 references to ToString
PresentationFramework (1)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (1)
562throw new ArgumentException(SR.Get(SRID.NotHighlightAnnotationType, attachedAnnotation.Annotation.AnnotationType.ToString()), "attachedAnnotation");
System.Activities.DurableInstancing (1)
System\Activities\DurableInstancing\XmlPropertyBag.cs (1)
306return ((XmlQualifiedName)value).ToString();
System.Data (11)
fx\src\data\System\Data\DataTable.cs (1)
330info.AddValue("DataTable.TypeName", TypeName.ToString());
fx\src\data\System\Data\SimpleType.cs (1)
107baseType = content.BaseTypeName.ToString();
fx\src\data\System\Data\XMLSchema.cs (9)
202udSimpleTypes[type.QualifiedName.ToString()] = xmlSimpleType; 203DataColumn dc = (DataColumn)existingSimpleTypeMap[type.QualifiedName.ToString()]; 907HandleSimpleContentColumn(ccExtension.BaseTypeName.ToString(), table, isBase, ct.ContentModel.UnhandledAttributes, isNillable); 1703strType = typeNode.QualifiedName.ToString(); // use qualifed name 1704type = ParseDataType(typeNode.QualifiedName.ToString()); 1918type = ParseDataType(attr.SchemaTypeName.ToString()); 1928strType = node.QualifiedName.ToString(); // use qualifed name 1929type = ParseDataType(node.QualifiedName.ToString());// search with QName 2070strType = ((XmlSchemaSimpleType)typeNode).QualifiedName.ToString(); // use qualifed name
System.Data.SqlXml (8)
System\Xml\Xsl\XsltOld\CallTemplateAction.cs (1)
94throw XsltException.Create(Res.Xslt_InvalidCallTemplate, this.name.ToString());
System\Xml\Xsl\XsltOld\ContainerAction.cs (1)
833throw XsltException.Create(Res.Xslt_DuplicateWithParam, name.ToString());
System\Xml\Xsl\XsltOld\RootAction.cs (3)
111throw XsltException.Create(Res.Xslt_NoAttributeSet, name.ToString()); 169throw XsltException.Create(Res.Xslt_CircularAttributeSet, qname.ToString()); 211throw XsltException.Create(Res.Xslt_DupDecimalFormat, name.ToString());
System\Xml\Xsl\XsltOld\Stylesheet.cs (1)
157throw XsltException.Create(Res.Xslt_DupTemplateName, template.Name.ToString());
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (2)
68throw XsltException.Create(Res.Xslt_InvalidVariable, qname.ToString()); 83throw XsltException.Create(Res.Xslt_InvalidVariable, variable.Name.ToString());
System.ServiceModel (3)
System\ServiceModel\Description\DispatcherBuilder.cs (1)
740ChannelDispatcher channelDispatcher = new ChannelDispatcher(listener, bindingQname.ToString(), binding);
System\ServiceModel\Description\SchemaHelper.cs (1)
97return element.SchemaTypeName.ToString();
System\ServiceModel\Description\WsdlExporter.cs (1)
1204string contractIdentifier = new XmlQualifiedName(contract.Name, contract.Namespace).ToString();
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\FindCriteria.cs (1)
413return new Uri(string.Format(CultureInfo.InvariantCulture, "urn:{0}", contractTypeName.ToString()));
System.Web.Extensions (2)
Compilation\WCFModel\SchemaMerger.cs (2)
165String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DuplicatedSchemaItems, itemTypeName, combinedName.ToString(), schema.SourceUri, originalItem.SourceUri, differentLocation) 179String.Format(CultureInfo.CurrentCulture, WCFModelStrings.ReferenceGroup_DuplicatedSchemaItemsIgnored, itemTypeName, combinedName.ToString(), schema.SourceUri, originalItem.SourceUri, differentLocation)
System.Web.Services (6)
System\Web\Services\Description\SchemaCompiler.cs (2)
102item = Res.GetString(Res.XmlSchemaElementReference, e.RefName.ToString(), parentName.Name, parentName.Namespace); 119return Res.GetString(Res.XmlSchemaAttributeReference, a.RefName.ToString(), parentName.Name, parentName.Namespace);
System\Web\Services\Description\ServiceDescriptions.cs (1)
171throw new ArgumentException(Res.GetString(Res.WebDescriptionMissing, name.ToString(), name.Namespace), "name");
System\Web\Services\Description\Soap12ProtocolReflector.cs (1)
102DealWithAmbiguity(action, SoapMethod.requestElementName.ToString(), soapOperation);
System\Web\Services\Description\SoapProtocolImporter.cs (2)
576key = "type=" + part.Type.ToString(); 582key = "element=" + part.Element.ToString();
System.Xml (171)
System\Xml\Core\XmlTextReaderImpl.cs (1)
6103curNode.SetNamedNode(XmlNodeType.DocumentType, dtdInfo.Name.ToString(), string.Empty, null);
System\Xml\Core\XmlTextReaderImplAsync.cs (1)
4155curNode.SetNamedNode(XmlNodeType.DocumentType, dtdInfo.Name.ToString(), string.Empty, null);
System\Xml\Schema\BaseProcessor.cs (1)
130SendValidationEvent(code, qname.ToString(), item);
System\Xml\Schema\ContentValidator.cs (1)
189return ((XmlQualifiedName)de.Key).ToString();
System\Xml\Schema\DataTypeImplementation.cs (1)
559typeName = simpleType.QualifiedName.ToString();
System\Xml\Schema\DtdParser.cs (4)
734SendValidationEvent( XmlSeverityType.Error, Res.Sch_IdAttrDeclared, elementDecl.Name.ToString() ); 747SendValidationEvent( curPos - 8, XmlSeverityType.Error, Res.Sch_DupNotationAttribute, elementDecl.Name.ToString() ); // 8 == strlen("NOTATION") 753SendValidationEvent( curPos - 8, XmlSeverityType.Error, Res.Sch_NotationAttributeOnEmptyElement, elementDecl.Name.ToString() );// 8 == strlen("NOTATION") 1249SendValidationEvent( XmlSeverityType.Error, Res.Sch_DupElement, name.ToString() );
System\Xml\Schema\DtdParserAsync.cs (4)
379SendValidationEvent( XmlSeverityType.Error, Res.Sch_IdAttrDeclared, elementDecl.Name.ToString() ); 392SendValidationEvent( curPos - 8, XmlSeverityType.Error, Res.Sch_DupNotationAttribute, elementDecl.Name.ToString() ); // 8 == strlen("NOTATION") 398SendValidationEvent( curPos - 8, XmlSeverityType.Error, Res.Sch_NotationAttributeOnEmptyElement, elementDecl.Name.ToString() );// 8 == strlen("NOTATION") 873SendValidationEvent( XmlSeverityType.Error, Res.Sch_DupElement, name.ToString() );
System\Xml\Schema\DtdValidator.cs (5)
89SendValidationEvent(Res.Xml_NoDTDPresent, this.name.ToString(), XmlSeverityType.Warning); 325SendValidationEvent(Res.Sch_FixedAttributeValue, attdef.Name.ToString()); 334SendValidationEvent(Res.Sch_AttributeValueDataType, attdef.Name.ToString()); 459XmlSchemaException e = new XmlSchemaException(Res.Sch_AttributeDefaultDataType, attdef.Name.ToString()); 511XmlSchemaException e = new XmlSchemaException(Res.Sch_AttributeDefaultDataType, attdef.Name.ToString());
System\Xml\Schema\FacetChecker.cs (1)
1244string strValue = value.ToString();
System\Xml\Schema\Preprocessor.cs (5)
748SendValidationEvent(Res.Sch_ComponentRedefineNotFound, "<group>", group.QualifiedName.ToString(), group); 769SendValidationEvent(Res.Sch_ComponentRedefineNotFound, "<attributeGroup>", attributeGroup.QualifiedName.ToString(), attributeGroup); 790SendValidationEvent(Res.Sch_ComponentRedefineNotFound, "<complexType>", complexType.QualifiedName.ToString(), complexType); 814SendValidationEvent(Res.Sch_ComponentRedefineNotFound, "<simpleType>", simpleType.QualifiedName.ToString(), simpleType); 1214SendValidationEvent(Res.Sch_DupIdentityConstraint, constraint.QualifiedName.ToString(), constraint);
System\Xml\Schema\SchemaCollectionCompiler.cs (35)
386SendValidationEvent(Res.Sch_InvalidSubstitutionMember, (element.QualifiedName).ToString(), (examplar.QualifiedName).ToString(), element); 436throw new XmlSchemaException(Res.Sch_UndeclaredSimpleType, list.ItemTypeName.ToString(), simpleType); 457throw new XmlSchemaException(Res.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType); 468throw new XmlSchemaException(Res.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), simpleType); 521throw new XmlSchemaException(Res.Sch_UndeclaredSimpleType, mainMemberTypes[i].ToString(), simpleType); 644SendValidationEvent(Res.Sch_UndeclaredType, simpleExtension.BaseTypeName.ToString(), complexType); 675SendValidationEvent(Res.Sch_UndefBaseRestriction, simpleRestriction.BaseTypeName.ToString(), simpleRestriction); 739SendValidationEvent(Res.Sch_UndefBaseExtension, complexExtension.BaseTypeName.ToString(), complexExtension); 792SendValidationEvent(Res.Sch_UndefBaseRestriction, complexRestriction.BaseTypeName.ToString(), complexRestriction); 904SendValidationEvent(Res.Sch_UndefGroupRef, groupRef.RefName.ToString(), groupRef); 1382SendValidationEvent(Res.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attribute); 1401SendValidationEvent(Res.Sch_DupAttributeUse, attributeValue.QualifiedName.ToString(), attributeValue); 1407SendValidationEvent(Res.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 1431SendValidationEvent(Res.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attribute); 1435SendValidationEvent(Res.Sch_AttributeIgnored, attribute.QualifiedName.ToString(), attribute, XmlSeverityType.Warning); 1451SendValidationEvent(Res.Sch_DupAttributeUse, attributeValue.QualifiedName.ToString(), attributeGroupRef); 1455SendValidationEvent(Res.Sch_AttributeIgnored, attributeValue.QualifiedName.ToString(), attributeValue, XmlSeverityType.Warning); 1462SendValidationEvent(Res.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 1640throw new XmlSchemaException(Res.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 1644throw new XmlSchemaException(Res.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 1650throw new XmlSchemaException(Res.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 1654throw new XmlSchemaException(Res.Sch_FixedInRef, xa.RefName.ToString(), xa); 1689throw new XmlSchemaException(Res.Sch_UndeclaredSimpleType, xa.SchemaTypeName.ToString(), xa); 1761throw new XmlSchemaException(Res.Sch_UndeclaredIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi); 1765throw new XmlSchemaException(Res.Sch_RefInvalidIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi); 1769throw new XmlSchemaException(Res.Sch_RefInvalidCardin, xi.QualifiedName.ToString(), xi); 1773throw new XmlSchemaException(Res.Sch_ReftoKeyref, xi.QualifiedName.ToString(), xi); 1806throw new XmlSchemaException(Res.Sch_UndeclaredElement, xe.RefName.ToString(), xe); 1810throw new XmlSchemaException(Res.Sch_RefInvalidElement, xe.RefName.ToString(), xe); 1822throw new XmlSchemaException(Res.Sch_UndeclaredType, xe.SchemaTypeName.ToString(), xe); 1948SendValidationEvent(Res.Sch_DupElement, localElement.QualifiedName.ToString(), localElement); 1967SendValidationEvent(Res.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (XmlSchemaElement)e.Particle2); 1970SendValidationEvent(Res.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle2).NamespaceList.ToString(), ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (XmlSchemaAny)e.Particle2); 1975SendValidationEvent(Res.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle1).NamespaceList.ToString(), ((XmlSchemaElement)e.Particle2).QualifiedName.ToString(), (XmlSchemaAny)e.Particle1);
System\Xml\Schema\SchemaCollectionpreProcessor.cs (1)
902SendValidationEvent(Res.Sch_DupIdentityConstraint, constraint.QualifiedName.ToString(), constraint);
System\Xml\Schema\SchemaElementDecl.cs (1)
217throw new XmlSchemaException(Res.Sch_MissRequiredAttribute, attdef.Name.ToString());
System\Xml\Schema\SchemaInfo.cs (4)
181throw new XmlSchemaException(Res.Sch_UndeclaredAttribute, qname.ToString()); 184throw new XmlSchemaException(Res.Sch_UndeclaredAttribute, qname.ToString()); 259throw new XmlSchemaException(Res.Sch_UndeclaredAttribute, qname.ToString()); 263throw new XmlSchemaException(Res.Sch_ProhibitedAttribute, qname.ToString());
System\Xml\Schema\SchemaSetCompiler.cs (42)
359SendValidationEvent(Res.Sch_InvalidSubstitutionMember, (element.QualifiedName).ToString(), (headElement.QualifiedName).ToString(), element); 500throw new XmlSchemaException(Res.Sch_UndeclaredSimpleType, list.ItemTypeName.ToString(), list); 523throw new XmlSchemaException(Res.Sch_InvalidSimpleTypeRestriction, restriction.BaseTypeName.ToString(), simpleType); 535throw new XmlSchemaException(Res.Sch_UndeclaredSimpleType, restriction.BaseTypeName.ToString(), restriction); 588throw new XmlSchemaException(Res.Sch_UndeclaredSimpleType, mainMemberTypes[i].ToString(), mainUnion); 702SendValidationEvent(Res.Sch_UndeclaredType, simpleExtension.BaseTypeName.ToString(), simpleExtension); 733SendValidationEvent(Res.Sch_UndefBaseRestriction, simpleRestriction.BaseTypeName.ToString(), simpleRestriction); 797SendValidationEvent(Res.Sch_UndefBaseExtension, complexExtension.BaseTypeName.ToString(), complexExtension); 851SendValidationEvent(Res.Sch_UndefBaseRestriction, complexRestriction.BaseTypeName.ToString(), complexRestriction); 1002SendValidationEvent(Res.Sch_UndefGroupRef, groupRef.RefName.ToString(), groupRef); 1321restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromAnyRule1, derivedElement.QualifiedName.ToString()); 1325restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromAnyRule2, derivedElement.QualifiedName.ToString()); 1421restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromGroupBase1, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1431restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromGroupBase2, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1441restrictionErrorMsg = Res.GetString(Res.Sch_ElementFromGroupBase3, derivedElement.QualifiedName.ToString(), derivedElement.LineNumber.ToString(NumberFormatInfo.InvariantInfo), derivedElement.LinePosition.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LineNumber.ToString(NumberFormatInfo.InvariantInfo), baseGroupBase.LinePosition.ToString(NumberFormatInfo.InvariantInfo)); 1659SendValidationEvent(Res.Sch_DupAttributeUse, attr.QualifiedName.ToString(), attr); 1678SendValidationEvent(Res.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attribute); 1684SendValidationEvent(Res.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 1710SendValidationEvent(Res.Sch_DupAttributeUse, attr.QualifiedName.ToString(), attr); 1714SendValidationEvent(Res.Sch_AttributeIgnored, attr.QualifiedName.ToString(), attr, XmlSeverityType.Warning); 1730SendValidationEvent(Res.Sch_DupAttributeUse, attribute.QualifiedName.ToString(), attributeGroupRef); 1734SendValidationEvent(Res.Sch_AttributeIgnored, attribute.QualifiedName.ToString(), attribute, XmlSeverityType.Warning); 1741SendValidationEvent(Res.Sch_UndefAttributeGroupRef, attributeGroupRef.RefName.ToString(), attributeGroupRef); 1859SendValidationEvent(Res.Sch_NoDerivedAttribute, attributeBase.QualifiedName.ToString(), baseAttributeGroup.QualifiedName.ToString(), derivedAttributeGroup); 1976throw new XmlSchemaException(Res.Sch_UndeclaredAttribute, xa.RefName.ToString(), xa); 1980throw new XmlSchemaException(Res.Sch_RefInvalidAttribute, xa.RefName.ToString(), xa); 1991throw new XmlSchemaException(Res.Sch_FixedDefaultInRef, xa.RefName.ToString(), xa); 1996throw new XmlSchemaException(Res.Sch_FixedInRef, xa.RefName.ToString(), xa); 2019throw new XmlSchemaException(Res.Sch_UndeclaredSimpleType, xa.SchemaTypeName.ToString(), xa); 2107throw new XmlSchemaException(Res.Sch_UndeclaredIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi); 2111throw new XmlSchemaException(Res.Sch_RefInvalidIdentityConstraint, ((XmlSchemaKeyref)xi).Refer.ToString(), xi); 2115throw new XmlSchemaException(Res.Sch_RefInvalidCardin, xi.QualifiedName.ToString(), xi); 2119throw new XmlSchemaException(Res.Sch_ReftoKeyref, xi.QualifiedName.ToString(), xi); 2152throw new XmlSchemaException(Res.Sch_UndeclaredElement, xe.RefName.ToString(), xe); 2156throw new XmlSchemaException(Res.Sch_RefInvalidElement, xe.RefName.ToString(), xe); 2168throw new XmlSchemaException(Res.Sch_UndeclaredType, xe.SchemaTypeName.ToString(), xe); 2303SendValidationEvent(Res.Sch_DupElement, localElement.QualifiedName.ToString(), localElement); 2322SendValidationEvent(Res.Sch_NonDeterministic, ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (XmlSchemaElement)e.Particle2); 2325SendValidationEvent(Res.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle2).ResolvedNamespace, ((XmlSchemaElement)e.Particle1).QualifiedName.ToString(), (XmlSchemaAny)e.Particle2); 2330SendValidationEvent(Res.Sch_NonDeterministicAnyEx, ((XmlSchemaAny)e.Particle1).ResolvedNamespace, ((XmlSchemaElement)e.Particle2).QualifiedName.ToString(), (XmlSchemaElement)e.Particle2);
System\Xml\Schema\XdrValidator.cs (3)
435SendValidationEvent(Res.Sch_FixedAttributeValue, attdef.Name.ToString()); 444SendValidationEvent(Res.Sch_AttributeValueDataType, attdef.Name.ToString()); 511XmlSchemaException e = new XmlSchemaException(Res.Sch_AttributeDefaultDataType, attdef.Name.ToString(), baseUri, lineNo, linePos);
System\Xml\Schema\XmlSchemaElement.cs (1)
310return qualifiedName.ToString();
System\Xml\Schema\XmlSchemaSet.cs (1)
1328SendValidationEvent(new XmlSchemaException(code,qname.ToString()), XmlSeverityType.Error);
System\Xml\Schema\XmlSchemaValidator.cs (32)
484SendValidationEvent(Res.Sch_DuplicateAttribute, attQName.ToString()); 507SendValidationEvent(Res.Sch_UndeclaredAttribute, attQName.ToString()); 510SendValidationEvent(Res.Sch_NoAttributeSchemaFound, attQName.ToString(), XmlSeverityType.Warning); 520SendValidationEvent(Res.Sch_UndeclaredAttribute, attQName.ToString()); 530SendValidationEvent(Res.Sch_ProhibitedAttribute, attQName.ToString()); 536SendValidationEvent(Res.Sch_ProhibitedAttribute, attQName.ToString()); 541SendValidationEvent(Res.Sch_SchemaAttributeNameMismatch, new string[] { attQName.ToString(), ((XmlSchemaAttribute)pvtAttribute).QualifiedName.ToString()}); 599SendValidationEvent(Res.Sch_NoAttributeSchemaFound, attQName.ToString(), XmlSeverityType.Warning); 616SendValidationEvent(Res.Sch_NotXsiAttribute, attQName.ToString()); 905SendValidationEvent(Res.Sch_DefaultAttributeNotApplied, new string[2] { attdef.Name.ToString(), QNameString(context.LocalName, context.Namespace)}); 1144SendValidationEvent(Res.Sch_AllElement, elementName.ToString()); 1194SendValidationEvent(Res.Sch_SubstitutionNotAllowed, new string[] {member.ToString(), head.ToString()}); 1198SendValidationEvent(Res.Sch_SubstitutionBlocked, new string[] {member.ToString(), head.ToString()}); 1278string typeName = decl.SchemaType.QualifiedName.ToString(); 1364SendValidationEvent(Res.Sch_SchemaElementNameMismatch, elementName.ToString(), element.QualifiedName.ToString()); 1432SendValidationEvent(Res.Sch_XsiTypeNotFound, xsiTypeName.ToString(), severity); 1438SendValidationEvent(Res.Sch_XsiTypeAbstract, xsiTypeName.ToString(), severity); 1442SendValidationEvent(Res.Sch_XsiTypeBlockedEx, new string[] { xsiTypeName.ToString(), QNameString(context.LocalName, context.Namespace) }); 1539SendValidationEvent(Res.Sch_FixedElementValue, elementDecl.Name.ToString()); 1639SendValidationEvent(Res.Sch_FixedAttributeValue, attdef.Name.ToString()); 1648SendValidationEvent(Res.Sch_AttributeValueDataTypeDetailed, new string[] { attdef.Name.ToString(), stringValue, GetTypeName(decl), exception.Message }, exception); 1767SendValidationEvent(Res.Sch_MissRequiredAttribute, attdef.Name.ToString()); 1999SendValidationEvent(new XmlSchemaValidationException(Res.Sch_MissingKey, constraints[i].constraint.name.ToString(), sourceUriString, ks.PosLine, ks.PosCol)); 2007new string[2] {ks.ToString(), constraints[i].constraint.name.ToString()}, 2023new string[2] {ks.ToString(), constraints[i].constraint.name.ToString()}, 2059SendValidationEvent(new XmlSchemaValidationException(Res.Sch_UnresolvedKeyref, new string[2] { ks.ToString(), vcs[i].constraint.name.ToString() }, 2136SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementInEmptyEx, new string[] { QNameString(context.LocalName, context.Namespace), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error); 2139SendValidationEvent(eventHandler, sender, new XmlSchemaValidationException(Res.Sch_InvalidElementInTextOnlyEx, new string[] { QNameString(context.LocalName, context.Namespace), name.ToString() }, sourceUri, lineNo, linePos), XmlSeverityType.Error);
System\Xml\Schema\XmlValueConverter.cs (1)
783throw new InvalidCastException(Res.GetString(Res.XmlConvert_TypeNoPrefix, qname.ToString(), qname.Namespace));
System\Xml\Schema\XsdBuilder.cs (2)
706SendValidationEvent(Res.Sch_UnsupportedElement, qname.ToString()); 746SendValidationEvent(Res.Sch_UnsupportedAttribute, qname.ToString());
System\Xml\Schema\XsdValidator.cs (12)
171SendValidationEvent(Res.Sch_ContentInNill, elementName.ToString()); 178SendValidationEvent(Res.Sch_AllElement, elementName.ToString()); 344SendValidationEvent(Res.Sch_XsiTypeNotFound, xsiType.ToString()); 348SendValidationEvent(Res.Sch_XsiTypeBlockedEx, new string[] { xsiType.ToString(), XmlSchemaValidator.QNameString(context.LocalName, context.Namespace) }); 427SendValidationEvent(Res.Sch_UndeclaredAttribute, attQName.ToString()); 430SendValidationEvent(Res.Sch_NoAttributeSchemaFound, attQName.ToString(), XmlSeverityType.Warning); 609SendValidationEvent(Res.Sch_FixedAttributeValue, attdef.Name.ToString()); 622SendValidationEvent(Res.Sch_AttributeValueDataType, attdef.Name.ToString()); 896SendValidationEvent(new XmlSchemaException(Res.Sch_MissingKey, constraints[i].constraint.name.ToString(), reader.BaseURI, ks.PosLine, ks.PosCol)); 903new string[2] {ks.ToString(), constraints[i].constraint.name.ToString()}, 917new string[2] {ks.ToString(), constraints[i].constraint.name.ToString()}, 952SendValidationEvent(new XmlSchemaException(Res.Sch_UnresolvedKeyref, new string[2] { ks.ToString(), vcs[i].constraint.name.ToString() },
System\Xml\Serialization\ImportContext.cs (1)
132string key = item.GetType().Name + ":" + qname.ToString();
System\Xml\Serialization\Mappings.cs (1)
104return new XmlQualifiedName(XmlConvert.EncodeLocalName(name.Substring(colon + 1)), XmlConvert.EncodeLocalName(name.Substring(0, colon))).ToString();
System\Xml\Serialization\SchemaObjectWriter.cs (2)
150WriteAttribute(localName, ns, value.ToString()); 502w.Append(q.ToString());
System\Xml\Serialization\SoapReflectionImporter.cs (1)
190throw new InvalidOperationException(Res.GetString(Res.XmlInvalidXsdDataType, dataType, "SoapElementAttribute.DataType", new XmlQualifiedName(dataType, XmlSchema.Namespace).ToString()));
System\Xml\Serialization\SoapSchemaImporter.cs (1)
638throw new InvalidOperationException(Res.GetString(Res.XmlMissingDataType, name.ToString()));
System\Xml\Serialization\XmlReflectionImporter.cs (1)
357throw new InvalidOperationException(Res.GetString(Res.XmlInvalidXsdDataType, dataType, "XmlElementAttribute.DataType", new XmlQualifiedName(dataType, XmlSchema.Namespace).ToString()));
System\Xml\Serialization\XmlSchemaImporter.cs (3)
1765throw new InvalidOperationException(Res.GetString(Res.XmlInvalidEncoding, name.ToString())); 1768throw new InvalidOperationException(Res.GetString(Res.XmlMissingDataType, name.ToString())); 1787throw new InvalidOperationException(Res.GetString(Res.XmlMissingElement, name.ToString()));
System\Xml\Serialization\XmlSchemas.cs (2)
520item = Res.GetString(Res.XmlSchemaElementReference, e.RefName.ToString(), parentName.Name, parentName.Namespace); 537return Res.GetString(Res.XmlSchemaAttributeReference, a.RefName.ToString(), parentName.Name, parentName.Namespace);