30 references to Extension
System.Private.Xml (30)
System\Xml\Schema\Preprocessor.cs (7)
65
private const XmlSchemaDerivationMethod schemaBlockDefaultAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
| XmlSchemaDerivationMethod.Substitution;
66
private const XmlSchemaDerivationMethod schemaFinalDefaultAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
| XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union;
67
private const XmlSchemaDerivationMethod elementBlockAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
| XmlSchemaDerivationMethod.Substitution;
68
private const XmlSchemaDerivationMethod elementFinalAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
;
69
private const XmlSchemaDerivationMethod simpleTypeFinalAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
| XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union;
70
private const XmlSchemaDerivationMethod complexTypeBlockAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
;
71
private const XmlSchemaDerivationMethod complexTypeFinalAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
;
System\Xml\Schema\SchemaCollectionCompiler.cs (7)
827
if ((baseType.FinalResolved & XmlSchemaDerivationMethod.
Extension
) != 0)
836
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Extension
);
837
CompileLocalAttributes(baseType, complexType, simpleExtension.Attributes, simpleExtension.AnyAttribute, XmlSchemaDerivationMethod.
Extension
);
951
if ((baseType!.FinalResolved & XmlSchemaDerivationMethod.
Extension
) != 0)
955
CompileLocalAttributes(baseType, complexType, complexExtension.Attributes, complexExtension.AnyAttribute, XmlSchemaDerivationMethod.
Extension
);
988
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Extension
);
1851
if (derivedBy == XmlSchemaDerivationMethod.
Extension
)
System\Xml\Schema\SchemaCollectionpreProcessor.cs (6)
34
private const XmlSchemaDerivationMethod schemaBlockDefaultAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
| XmlSchemaDerivationMethod.Substitution;
35
private const XmlSchemaDerivationMethod schemaFinalDefaultAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
| XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union;
36
private const XmlSchemaDerivationMethod elementBlockAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
| XmlSchemaDerivationMethod.Substitution;
37
private const XmlSchemaDerivationMethod elementFinalAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
;
39
private const XmlSchemaDerivationMethod complexTypeBlockAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
;
40
private const XmlSchemaDerivationMethod complexTypeFinalAllowed = XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
;
System\Xml\Schema\SchemaSetCompiler.cs (9)
906
if ((baseType.FinalResolved & XmlSchemaDerivationMethod.
Extension
) != 0)
916
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Extension
);
917
CompileLocalAttributes(baseType, complexType, simpleExtension.Attributes, simpleExtension.AnyAttribute, XmlSchemaDerivationMethod.
Extension
);
1026
if ((baseType.FinalResolved & XmlSchemaDerivationMethod.
Extension
) != 0)
1031
CompileLocalAttributes(baseType, complexType, complexExtension.Attributes, complexExtension.AnyAttribute, XmlSchemaDerivationMethod.
Extension
);
1076
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Extension
);
1660
XmlSchemaDerivationMethod.Substitution | XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
:
1664
XmlSchemaDerivationMethod.Substitution | XmlSchemaDerivationMethod.Restriction | XmlSchemaDerivationMethod.
Extension
:
2212
if (derivedBy == XmlSchemaDerivationMethod.
Extension
)
System\Xml\Schema\XsdBuilder.cs (1)
604
(int)XmlSchemaDerivationMethod.
Extension
,