52 references to Restriction
dotnet-svcutil-lib (52)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (1)
198
derivedType.SetDerivedBy(XmlSchemaDerivationMethod.
Restriction
);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (7)
70
private const XmlSchemaDerivationMethod schemaBlockDefaultAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.Substitution;
71
private const XmlSchemaDerivationMethod schemaFinalDefaultAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union;
72
private const XmlSchemaDerivationMethod elementBlockAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.Substitution;
73
private const XmlSchemaDerivationMethod elementFinalAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension;
74
private const XmlSchemaDerivationMethod simpleTypeFinalAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union;
75
private const XmlSchemaDerivationMethod complexTypeBlockAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension;
76
private const XmlSchemaDerivationMethod complexTypeFinalAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (15)
578
if ((type.FinalResolved & XmlSchemaDerivationMethod.
Restriction
) != 0)
591
simpleType.SetDerivedBy(XmlSchemaDerivationMethod.
Restriction
);
683
if (unionMember.DerivedBy == XmlSchemaDerivationMethod.
Restriction
&& (unionDatatype.HasLexicalFacets || unionDatatype.HasValueFacets))
737
CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.
Restriction
);
738
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Restriction
);
887
if ((baseType.FinalResolved & XmlSchemaDerivationMethod.
Restriction
) != 0)
912
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Restriction
);
913
CompileLocalAttributes(baseType, complexType, simpleRestriction.Attributes, simpleRestriction.AnyAttribute, XmlSchemaDerivationMethod.
Restriction
);
1008
if ((baseType.FinalResolved & XmlSchemaDerivationMethod.
Restriction
) != 0)
1012
CompileLocalAttributes(baseType, complexType, complexRestriction.Attributes, complexRestriction.AnyAttribute, XmlSchemaDerivationMethod.
Restriction
);
1027
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Restriction
);
1033
if (baseType != null && baseType != XmlSchemaComplexType.AnyType && complexType.DerivedBy == XmlSchemaDerivationMethod.
Restriction
)
1419
XmlSchemaType.IsDerivedFrom(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~XmlSchemaDerivationMethod.
Restriction
);
1798
(attribute.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.
Restriction
&& baseType != XmlSchemaComplexType.AnyType))
1824
(attributeValue.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.
Restriction
&& baseType != XmlSchemaComplexType.AnyType))
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (7)
39
private const XmlSchemaDerivationMethod schemaBlockDefaultAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.Substitution;
40
private const XmlSchemaDerivationMethod schemaFinalDefaultAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union;
41
private const XmlSchemaDerivationMethod elementBlockAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension | XmlSchemaDerivationMethod.Substitution;
42
private const XmlSchemaDerivationMethod elementFinalAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension;
43
private const XmlSchemaDerivationMethod simpleTypeFinalAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union;
44
private const XmlSchemaDerivationMethod complexTypeBlockAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension;
45
private const XmlSchemaDerivationMethod complexTypeFinalAllowed = XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (17)
663
if ((type.FinalResolved & XmlSchemaDerivationMethod.
Restriction
) != 0)
676
simpleType.SetDerivedBy(XmlSchemaDerivationMethod.
Restriction
);
768
if (unionMember.DerivedBy == XmlSchemaDerivationMethod.
Restriction
&& (unionDatatype.HasLexicalFacets || unionDatatype.HasValueFacets))
824
CompileLocalAttributes(XmlSchemaComplexType.AnyType, complexType, complexType.Attributes, complexType.AnyAttribute, XmlSchemaDerivationMethod.
Restriction
);
825
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Restriction
);
965
if ((baseType.FinalResolved & XmlSchemaDerivationMethod.
Restriction
) != 0)
990
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Restriction
);
991
CompileLocalAttributes(baseType, complexType, simpleRestriction.Attributes, simpleRestriction.AnyAttribute, XmlSchemaDerivationMethod.
Restriction
);
1078
if ((baseType.FinalResolved & XmlSchemaDerivationMethod.
Restriction
) != 0)
1082
CompileLocalAttributes(baseType, complexType, complexRestriction.Attributes, complexRestriction.AnyAttribute, XmlSchemaDerivationMethod.
Restriction
);
1103
complexType.SetDerivedBy(XmlSchemaDerivationMethod.
Restriction
);
1110
if (baseType != null && baseType != XmlSchemaComplexType.AnyType && complexType.DerivedBy == XmlSchemaDerivationMethod.
Restriction
)
1644
XmlSchemaDerivationMethod.Substitution | XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension :
1648
XmlSchemaDerivationMethod.Substitution | XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.Extension :
1657
XmlSchemaType.IsDerivedFrom(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~(XmlSchemaDerivationMethod.
Restriction
| XmlSchemaDerivationMethod.List | XmlSchemaDerivationMethod.Union))))
2141
(attr.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.
Restriction
&& baseType != XmlSchemaComplexType.AnyType))
2167
(attribute.Use == XmlSchemaUse.Prohibited && derivedBy == XmlSchemaDerivationMethod.
Restriction
&& baseType != XmlSchemaComplexType.AnyType))
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (1)
3674
while (schemaType.DerivedBy == XmlSchemaDerivationMethod.
Restriction
)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
615
(int)XmlSchemaDerivationMethod.
Restriction
,
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (3)
3897
case Microsoft.Xml.Schema.XmlSchemaDerivationMethod.
@Restriction
: s = @"restriction"; break;
3911
(long)Microsoft.Xml.Schema.XmlSchemaDerivationMethod.
@Restriction
,
10726
h.Add(@"restriction", (long)Microsoft.Xml.Schema.XmlSchemaDerivationMethod.
@Restriction
);