38 references to @Prohibited
System.Data (1)
fx\src\data\System\Data\XMLSchema.cs (1)
2011
if (attrib.Use == XmlSchemaUse.
Prohibited
) {
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1393
if (attribute.Use == XmlSchemaUse.
Prohibited
)
System.Web.Services (2)
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
3279
case global::System.Xml.Schema.XmlSchemaUse.
@Prohibited
: s = @"prohibited"; break;
8678
case @"prohibited": return global::System.Xml.Schema.XmlSchemaUse.
@Prohibited
;
System.Xml (34)
System\Xml\Schema\SchemaCollectionCompiler.cs (14)
595
if (attribute.Use != XmlSchemaUse.
Prohibited
) {
615
if (attribute.Use == XmlSchemaUse.
Prohibited
) {
1375
if (attribute.Use != XmlSchemaUse.
Prohibited
) {
1421
if (attribute.Use != XmlSchemaUse.
Prohibited
) {
1424
if (attribute.Use != XmlSchemaUse.
Prohibited
||
1425
(attribute.Use == XmlSchemaUse.
Prohibited
&& derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) {
1445
if (attributeValue.Use != XmlSchemaUse.
Prohibited
||
1446
(attributeValue.Use == XmlSchemaUse.
Prohibited
&& derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) {
1474
Debug.Assert(attribute.Use != XmlSchemaUse.
Prohibited
);
1475
if (attribute.AttributeSchemaType != attributeBase.AttributeSchemaType || attributeBase.Use == XmlSchemaUse.
Prohibited
) {
1500
if (attributeBase.Use == XmlSchemaUse.
Prohibited
&& attribute.Use != XmlSchemaUse.
Prohibited
) {
1512
else if (attribute.Use == XmlSchemaUse.
Prohibited
) {
1723
case XmlSchemaUse.
Prohibited
:
System\Xml\Schema\SchemaSetCompiler.cs (16)
672
if (attribute.Use == XmlSchemaUse.
Prohibited
) {
1651
if (attr.Use == XmlSchemaUse.
Prohibited
) {
1700
if (attr.Use != XmlSchemaUse.
Prohibited
) {
1703
if (attr.Use != XmlSchemaUse.
Prohibited
||
1704
(attr.Use == XmlSchemaUse.
Prohibited
&& derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) {
1724
if (attribute.Use != XmlSchemaUse.
Prohibited
||
1725
(attribute.Use == XmlSchemaUse.
Prohibited
&& derivedBy == XmlSchemaDerivationMethod.Restriction && baseType != XmlSchemaComplexType.AnyType)) {
1756
Debug.Assert(attribute.Use != XmlSchemaUse.
Prohibited
);
1757
if (attributeBase.Use != XmlSchemaUse.
Prohibited
&& attribute.AttributeSchemaType != attributeBase.AttributeSchemaType) { //Extension allows previously prohibited attributes to be re-added,
1779
if (attributeBase.Use == XmlSchemaUse.
Prohibited
&& attribute.Use != XmlSchemaUse.
Prohibited
) {
1794
else if (attribute.Use == XmlSchemaUse.
Prohibited
) {
1842
if (attributeBase.Use == XmlSchemaUse.
Prohibited
&& attribute.Use != XmlSchemaUse.
Prohibited
) {
1848
else if (attribute.Use == XmlSchemaUse.
Prohibited
) { //If derived att is prohibited, continue
2082
case XmlSchemaUse.
Prohibited
:
System\Xml\Schema\XmlSchemaComplexType.cs (1)
340
if (attribute.Use != XmlSchemaUse.
Prohibited
) {
System\Xml\Serialization\SchemaObjectWriter.cs (1)
606
case XmlSchemaUse.
@Prohibited
:s = @"prohibited"; break;
System\Xml\Serialization\SoapSchemaImporter.cs (1)
327
if (attr.Use != XmlSchemaUse.
Prohibited
) throw new InvalidOperationException(Res.GetString(Res.XmlSoapInvalidAttributeUse, type.Name, type.QualifiedName.Namespace));
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1487
if (attribute.Use == XmlSchemaUse.
Prohibited
) return null;