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