7 instantiations of SchemaAttDef
System.Xml (7)
System\Xml\Schema\DtdParser.cs (1)
638attrDef = new SchemaAttDef(attrName, attrName.Namespace);
System\Xml\Schema\DtdParserAsync.cs (1)
283attrDef = new SchemaAttDef(attrName, attrName.Namespace);
System\Xml\Schema\SchemaAttDef.cs (1)
43public static readonly SchemaAttDef Empty = new SchemaAttDef();
System\Xml\Schema\SchemaCollectionCompiler.cs (1)
1674decl = new SchemaAttDef(xa.QualifiedName);
System\Xml\Schema\SchemaSetCompiler.cs (1)
2004decl = new SchemaAttDef(xa.QualifiedName);
System\Xml\Schema\XdrBuilder.cs (2)
907ad._AttDef = new SchemaAttDef(XmlQualifiedName.Empty, null); 1162attdef = new SchemaAttDef(qname, prefix);
110 references to SchemaAttDef
System.Xml (110)
System\Xml\Core\XmlTextReaderImpl.cs (2)
8244internal bool AddDefaultAttributeNonDtd( SchemaAttDef attrDef ) { 8272attrDef.ValueLineNumber, attrDef.ValueLinePosition, attrDef.Reserved != SchemaAttDef.Reserve.None );
System\Xml\Core\XmlValidatingReaderImpl.cs (3)
991internal bool AddDefaultAttribute( SchemaAttDef attdef ) { 1000SchemaAttDef attdef = defaultAttribute as SchemaAttDef;
System\Xml\Dom\DocumentSchemaValidator.cs (1)
407SchemaAttDef attributeDef = schemaAttribute.AttDef;
System\Xml\Dom\XmlDocument.cs (5)
544SchemaAttDef attdef = (SchemaAttDef)attrDefs.Value; 579private XmlAttribute PrepareDefaultAttribute( SchemaAttDef attdef, string attrPrefix, string attrLocalname, string attrNamespaceURI ) { 1403SchemaAttDef attdef = (SchemaAttDef)attrDefs.Value;
System\Xml\Dom\XmlLoader.cs (2)
584SchemaAttDef attdef = (SchemaAttDef)attDefs.Value;
System\Xml\Schema\DtdParser.cs (8)
633SchemaAttDef attrDef = null; 651attrDef.Reserved = SchemaAttDef.Reserve.XmlSpace; 682attrDef.Reserved = SchemaAttDef.Reserve.XmlSpace; 687attrDef.Reserved = SchemaAttDef.Reserve.XmlSpace; 699attrDef.Reserved = SchemaAttDef.Reserve.XmlLang; 713private void ParseAttlistType( SchemaAttDef attrDef, SchemaElementDecl elementDecl, bool ignoreErrors ) { 732SchemaAttDef idAttrDef = elementDecl.GetAttDef( attrDef.Name ); 834private void ParseAttlistDefault( SchemaAttDef attrDef, bool ignoreErrors ) {
System\Xml\Schema\DtdParserAsync.cs (8)
278SchemaAttDef attrDef = null; 296attrDef.Reserved = SchemaAttDef.Reserve.XmlSpace; 327attrDef.Reserved = SchemaAttDef.Reserve.XmlSpace; 332attrDef.Reserved = SchemaAttDef.Reserve.XmlSpace; 344attrDef.Reserved = SchemaAttDef.Reserve.XmlLang; 358private async Task ParseAttlistTypeAsync( SchemaAttDef attrDef, SchemaElementDecl elementDecl, bool ignoreErrors ) { 377SchemaAttDef idAttrDef = elementDecl.GetAttDef( attrDef.Name ); 479private async Task ParseAttlistDefaultAsync( SchemaAttDef attrDef, bool ignoreErrors ) {
System\Xml\Schema\DtdValidator.cs (4)
156SchemaAttDef attnDef = context.ElementDecl.GetAttDef( new XmlQualifiedName( reader.LocalName, reader.Prefix) ); 284private void CheckValue(string value, SchemaAttDef attdef) { 437SchemaAttDef attdef, 466SchemaAttDef attdef,
System\Xml\Schema\SchemaAttDef.cs (13)
43public static readonly SchemaAttDef Empty = new SchemaAttDef(); 64get { return ((SchemaAttDef)this).Prefix; } 68get { return ((SchemaAttDef)this).Name.Name; } 72get { return ((SchemaAttDef)this).LineNumber; } 76get { return ((SchemaAttDef)this).LinePosition; } 84get { return ((SchemaAttDef)this).IsDeclaredInExternal; } 88get { return this.Reserved != SchemaAttDef.Reserve.None; } 98get { return ((SchemaAttDef)this).DefaultValueExpanded; } 105get { return ((SchemaAttDef)this).DefaultValueTyped; } 110get { return ((SchemaAttDef)this).ValueLineNumber; } 114get { return ((SchemaAttDef)this).ValueLinePosition; } 208internal SchemaAttDef Clone() { 209return (SchemaAttDef) MemberwiseClone();
System\Xml\Schema\SchemaCollectionCompiler.cs (3)
621if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty) { 1635SchemaAttDef decl = null; 1735xa.AttDef = SchemaAttDef.Empty;
System\Xml\Schema\SchemaElementDecl.cs (9)
16Dictionary<XmlQualifiedName, SchemaAttDef> attdefs = new Dictionary<XmlQualifiedName, SchemaAttDef>(); 83SchemaAttDef attDef; 95foreach (SchemaAttDef attDef in attdefs.Values) { 172internal void AddAttDef(SchemaAttDef attdef) { 192internal SchemaAttDef GetAttDef(XmlQualifiedName qname) { 193SchemaAttDef attDef; 205internal Dictionary<XmlQualifiedName, SchemaAttDef> AttDefs { 214foreach(SchemaAttDef attdef in attdefs.Values) {
System\Xml\Schema\SchemaInfo.cs (12)
44Dictionary<XmlQualifiedName, SchemaAttDef> attributeDecls = new Dictionary<XmlQualifiedName, SchemaAttDef>(); 108internal Dictionary<XmlQualifiedName, SchemaAttDef> AttributeDecls { 152SchemaAttDef attdef = (SchemaAttDef)attributeDecls[qname]; 175internal SchemaAttDef GetAttributeXdr(SchemaElementDecl ed, XmlQualifiedName qname) { 176SchemaAttDef attdef = null; 192internal SchemaAttDef GetAttributeXsd(SchemaElementDecl ed, XmlQualifiedName qname, XmlSchemaObject partialValidationType, out AttributeMatchState attributeMatchState) { 193SchemaAttDef attdef = null; 253internal SchemaAttDef GetAttributeXsd(SchemaElementDecl ed, XmlQualifiedName qname, ref bool skip) { 256SchemaAttDef attDef = GetAttributeXsd(ed, qname, null, out attributeMatchState); 309foreach (SchemaAttDef attdef in sinfo.AttributeDecls.Values) {
System\Xml\Schema\SchemaSetCompiler.cs (4)
678if (!decl.AttDefs.ContainsKey(attribute.QualifiedName) && attribute.AttDef != null && attribute.AttDef.Name != XmlQualifiedName.Empty && attribute.AttDef != SchemaAttDef.Empty) { 1971SchemaAttDef decl = null; 2042xa.AttDef = SchemaAttDef.Empty; 2049private void SetDefaultFixed(XmlSchemaAttribute xa, SchemaAttDef decl) {
System\Xml\Schema\XdrBuilder.cs (14)
64internal SchemaAttDef _Attdef; 136internal SchemaAttDef _AttDef; 626SchemaAttDef ad; 628builder._UndefinedAttributeTypes._Attdef = (SchemaAttDef)ad.Clone(); 825SchemaAttDef pAttdef = null; 829pAttdef = (SchemaAttDef)builder._ElementDef._AttDefList[pName]; 831patt._Attdef = (SchemaAttDef)pAttdef.Clone(); 1130SchemaAttDef attdef = null; 1136attdef = (SchemaAttDef)builder._ElementDef._AttDefList[qname]; 1147SchemaAttDef ad; 1149attdef = (SchemaAttDef)ad.Clone(); 1476private void XDR_CheckAttributeDefault(DeclBaseInfo decl, SchemaAttDef pAttdef) { 1487private void SetAttributePresence(SchemaAttDef pAttdef, bool fRequired) { 1557private void CheckDefaultAttValue(SchemaAttDef attDef) {
System\Xml\Schema\XdrValidator.cs (4)
223SchemaAttDef attnDef = schemaInfo.GetAttributeXdr(context.ElementDecl, QualifiedName(reader.LocalName, reader.NamespaceURI)); 250reader.AddDefaultAttribute((SchemaAttDef)context.ElementDecl.DefaultAttDefs[i]); 378SchemaAttDef attdef 454SchemaAttDef attdef,
System\Xml\Schema\XmlSchemaAttribute.cs (2)
33SchemaAttDef attDef; 182internal SchemaAttDef AttDef {
System\Xml\Schema\XmlSchemaValidator.cs (11)
90private SchemaAttDef wildID; 480SchemaAttDef attributeDef = null; 612attPresence.Add(attQName, SchemaAttDef.Empty); 865foreach(SchemaAttDef attDef in elementDecl.AttDefs.Values) { 893SchemaAttDef attdef = (SchemaAttDef)currentElementDecl.DefaultAttDefs[i]; 1493private SchemaAttDef CheckIsXmlAttribute(XmlQualifiedName attQName) { 1494SchemaAttDef attdef = null; 1620private object CheckAttributeValue(object value, SchemaAttDef attdef) { 1763Dictionary<XmlQualifiedName, SchemaAttDef> attributeDefs = currentElementDecl.AttDefs; 1764foreach(SchemaAttDef attdef in attributeDefs.Values) {
System\Xml\Schema\XsdValidator.cs (5)
403SchemaAttDef attnDef = schemaInfo.GetAttributeXsd(context.ElementDecl, attQName, ref skipContents); 446SchemaAttDef attdef = (SchemaAttDef)context.ElementDecl.DefaultAttDefs[i]; 580SchemaAttDef attdef 806private void AttributeIdentityConstraints(string name, string ns, object obj, string sobj, SchemaAttDef attdef) {