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