362 if (
value.Length > 0)
bool TryGetValue(TKey key, [MaybeNullWhen(false)] out TValue value)
bool ContainsKey(TKey key)
void Add(TKey key, TValue value)
static string InvalidOperation_MissingParent
static string Format(string resourceFormat, object p1)
static string InvalidOperation_MissingRoot
static string InvalidOperation_BadNodeType
void Add(object? content)
static XNamespace Get(string namespaceName)
XmlSchemaException Exception
XmlNamespaceManager namespaceManager
void ValidateAttributes(XElement e)
Dictionary< XmlSchemaInfo, XmlSchemaInfo > schemaInfos
void RestoreLineInfo(IXmlLineInfo originalLineInfo)
void ValidateElement(XElement e)
readonly ValidationEventHandler validationEventHandler
XNodeValidator(XmlSchemaSet schemas, ValidationEventHandler validationEventHandler)
XmlSchemaValidator validator
readonly XmlSchemaSet schemas
void ReplaceSchemaInfo(XObject o, XmlSchemaInfo schemaInfo)
IXmlLineInfo SaveLineInfo(XObject source)
void ValidationCallback(object sender, ValidationEventArgs e)
readonly XName xsiTypeName
readonly XName xsiNilName
XmlSchemaInfo GetDefaultAttributeSchemaInfo(XmlSchemaAttribute sa)
void ValidateNodes(XElement e)
string GetDefaultValue(XmlSchemaElement se)
ArrayList defaultAttributes
void ValidateAttribute(XAttribute a)
string GetDefaultValue(XmlSchemaAttribute sa)
void PushAncestorsAndSelf(XElement e)
void Validate(XObject source, XmlSchemaObject partialValidationType, bool addSchemaInfo)
void PushElement(XElement e, ref string xsiType, ref string xsiNil)
XmlSchemaObjectTable GlobalElements
XmlSchemaObjectTable GlobalAttributes
void ValidateElement(string localName, string namespaceUri, XmlSchemaInfo? schemaInfo)
object? ValidateAttribute(string localName, string namespaceUri, string attributeValue, XmlSchemaInfo? schemaInfo)
IXmlLineInfo LineInfoProvider
object? ValidateEndElement(XmlSchemaInfo? schemaInfo)
void ValidateEndOfAttributes(XmlSchemaInfo? schemaInfo)
void GetUnspecifiedDefaultAttributes(ArrayList defaultAttributes)
void ValidateText(string elementValue)
virtual bool HasNamespace(string prefix)
virtual void AddNamespace(string prefix, string uri)