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