308 references to XmlSchemaDerivationMethod
dotnet-svcutil-lib (308)
FrameworkFork\Microsoft.Xml\Xml\schema\DatatypeImplementation.cs (2)
198
derivedType.SetDerivedBy(
XmlSchemaDerivationMethod
.Restriction);
210
derivedType.SetDerivedBy(
XmlSchemaDerivationMethod
.List);
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (62)
50
private
XmlSchemaDerivationMethod
_blockDefault;
51
private
XmlSchemaDerivationMethod
_finalDefault;
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;
1024
if (schema.BlockDefault ==
XmlSchemaDerivationMethod
.All)
1026
_blockDefault =
XmlSchemaDerivationMethod
.All;
1028
else if (schema.BlockDefault ==
XmlSchemaDerivationMethod
.None)
1030
_blockDefault =
XmlSchemaDerivationMethod
.Empty;
1040
if (schema.FinalDefault ==
XmlSchemaDerivationMethod
.All)
1042
_finalDefault =
XmlSchemaDerivationMethod
.All;
1044
else if (schema.FinalDefault ==
XmlSchemaDerivationMethod
.None)
1046
_finalDefault =
XmlSchemaDerivationMethod
.Empty;
1305
if (element.Final ==
XmlSchemaDerivationMethod
.All)
1307
element.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
1309
else if (element.Final ==
XmlSchemaDerivationMethod
.None)
1311
if (_finalDefault ==
XmlSchemaDerivationMethod
.All)
1313
element.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
1368
element.Block !=
XmlSchemaDerivationMethod
.None ||
1393
if (element.Final !=
XmlSchemaDerivationMethod
.None)
1411
if (element.Block ==
XmlSchemaDerivationMethod
.All)
1413
element.SetBlockResolved(
XmlSchemaDerivationMethod
.All);
1415
else if (element.Block ==
XmlSchemaDerivationMethod
.None)
1417
if (_blockDefault ==
XmlSchemaDerivationMethod
.All)
1419
element.SetBlockResolved(
XmlSchemaDerivationMethod
.All);
1549
if (simpleType.Final ==
XmlSchemaDerivationMethod
.All)
1551
simpleType.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
1553
else if (simpleType.Final ==
XmlSchemaDerivationMethod
.None)
1555
if (_finalDefault ==
XmlSchemaDerivationMethod
.All)
1557
simpleType.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
1689
if (complexType.Block ==
XmlSchemaDerivationMethod
.All)
1691
complexType.SetBlockResolved(
XmlSchemaDerivationMethod
.All);
1693
else if (complexType.Block ==
XmlSchemaDerivationMethod
.None)
1705
if (complexType.Final ==
XmlSchemaDerivationMethod
.All)
1707
complexType.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
1709
else if (complexType.Final ==
XmlSchemaDerivationMethod
.None)
1711
if (_finalDefault ==
XmlSchemaDerivationMethod
.All)
1713
complexType.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (31)
437
if (examplar.FinalResolved ==
XmlSchemaDerivationMethod
.All)
538
if ((type.FinalResolved &
XmlSchemaDerivationMethod
.List) != 0)
551
simpleType.SetDerivedBy(
XmlSchemaDerivationMethod
.List);
578
if ((type.FinalResolved &
XmlSchemaDerivationMethod
.Restriction) != 0)
591
simpleType.SetDerivedBy(
XmlSchemaDerivationMethod
.Restriction);
598
simpleType.SetDerivedBy(
XmlSchemaDerivationMethod
.Union);
645
if ((unionMember.FinalResolved &
XmlSchemaDerivationMethod
.Union) != 0)
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);
818
if ((baseType.FinalResolved &
XmlSchemaDerivationMethod
.Extension) != 0)
827
complexType.SetDerivedBy(
XmlSchemaDerivationMethod
.Extension);
828
CompileLocalAttributes(baseType, complexType, simpleExtension.Attributes, simpleExtension.AnyAttribute,
XmlSchemaDerivationMethod
.Extension);
860
if (!XmlSchemaType.IsDerivedFromDatatype(simpleRestriction.BaseType.Datatype, baseType.Datatype,
XmlSchemaDerivationMethod
.None))
887
if ((baseType.FinalResolved &
XmlSchemaDerivationMethod
.Restriction) != 0)
912
complexType.SetDerivedBy(
XmlSchemaDerivationMethod
.Restriction);
913
CompileLocalAttributes(baseType, complexType, simpleRestriction.Attributes, simpleRestriction.AnyAttribute,
XmlSchemaDerivationMethod
.Restriction);
942
if ((baseType.FinalResolved &
XmlSchemaDerivationMethod
.Extension) != 0)
946
CompileLocalAttributes(baseType, complexType, complexExtension.Attributes, complexExtension.AnyAttribute,
XmlSchemaDerivationMethod
.Extension);
979
complexType.SetDerivedBy(
XmlSchemaDerivationMethod
.Extension);
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)
1104
if (!element.RefName.IsEmpty && substitution && (element.BlockResolved &
XmlSchemaDerivationMethod
.Substitution) == 0)
1419
XmlSchemaType.IsDerivedFrom(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~
XmlSchemaDerivationMethod
.Restriction);
1785
private void CompileLocalAttributes(XmlSchemaComplexType baseType, XmlSchemaComplexType derivedType, XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute,
XmlSchemaDerivationMethod
derivedBy)
1798
(attribute.Use == XmlSchemaUse.Prohibited && derivedBy ==
XmlSchemaDerivationMethod
.Restriction && baseType != XmlSchemaComplexType.AnyType))
1824
(attributeValue.Use == XmlSchemaUse.Prohibited && derivedBy ==
XmlSchemaDerivationMethod
.Restriction && baseType != XmlSchemaComplexType.AnyType))
1852
if (derivedBy ==
XmlSchemaDerivationMethod
.Extension)
1912
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.IsDerivedFrom(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType,
XmlSchemaDerivationMethod
.Empty))
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (61)
32
private
XmlSchemaDerivationMethod
_blockDefault;
33
private
XmlSchemaDerivationMethod
_finalDefault;
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;
439
if (schema.BlockDefault ==
XmlSchemaDerivationMethod
.All)
441
_blockDefault =
XmlSchemaDerivationMethod
.All;
443
else if (schema.BlockDefault ==
XmlSchemaDerivationMethod
.None)
445
_blockDefault =
XmlSchemaDerivationMethod
.Empty;
455
if (schema.FinalDefault ==
XmlSchemaDerivationMethod
.All)
457
_finalDefault =
XmlSchemaDerivationMethod
.All;
459
else if (schema.FinalDefault ==
XmlSchemaDerivationMethod
.None)
461
_finalDefault =
XmlSchemaDerivationMethod
.Empty;
952
if (element.Final ==
XmlSchemaDerivationMethod
.All)
954
element.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
956
else if (element.Final ==
XmlSchemaDerivationMethod
.None)
958
if (_finalDefault ==
XmlSchemaDerivationMethod
.All)
960
element.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
1015
element.Block !=
XmlSchemaDerivationMethod
.None ||
1040
if (element.Final !=
XmlSchemaDerivationMethod
.None)
1058
if (element.Block ==
XmlSchemaDerivationMethod
.All)
1060
element.SetBlockResolved(
XmlSchemaDerivationMethod
.All);
1062
else if (element.Block ==
XmlSchemaDerivationMethod
.None)
1064
if (_blockDefault ==
XmlSchemaDerivationMethod
.All)
1066
element.SetBlockResolved(
XmlSchemaDerivationMethod
.All);
1194
if (simpleType.Final ==
XmlSchemaDerivationMethod
.All)
1196
simpleType.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
1198
else if (simpleType.Final ==
XmlSchemaDerivationMethod
.None)
1200
if (_finalDefault ==
XmlSchemaDerivationMethod
.All)
1202
simpleType.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
1332
if (complexType.Block ==
XmlSchemaDerivationMethod
.All)
1334
complexType.SetBlockResolved(
XmlSchemaDerivationMethod
.All);
1336
else if (complexType.Block ==
XmlSchemaDerivationMethod
.None)
1348
if (complexType.Final ==
XmlSchemaDerivationMethod
.All)
1350
complexType.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
1352
else if (complexType.Final ==
XmlSchemaDerivationMethod
.None)
1354
if (_finalDefault ==
XmlSchemaDerivationMethod
.All)
1356
complexType.SetFinalResolved(
XmlSchemaDerivationMethod
.All);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaElementDecl.cs (2)
26
private
XmlSchemaDerivationMethod
_block;
141
internal
XmlSchemaDerivationMethod
Block
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (45)
490
if (examplar.FinalResolved ==
XmlSchemaDerivationMethod
.All)
500
if ((element.ElementDecl.Block &
XmlSchemaDerivationMethod
.Substitution) == 0)
619
if ((type.FinalResolved &
XmlSchemaDerivationMethod
.List) != 0)
632
simpleType.SetDerivedBy(
XmlSchemaDerivationMethod
.List);
663
if ((type.FinalResolved &
XmlSchemaDerivationMethod
.Restriction) != 0)
676
simpleType.SetDerivedBy(
XmlSchemaDerivationMethod
.Restriction);
683
simpleType.SetDerivedBy(
XmlSchemaDerivationMethod
.Union);
730
if ((unionMember.FinalResolved &
XmlSchemaDerivationMethod
.Union) != 0)
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);
896
if ((baseType.FinalResolved &
XmlSchemaDerivationMethod
.Extension) != 0)
905
complexType.SetDerivedBy(
XmlSchemaDerivationMethod
.Extension);
906
CompileLocalAttributes(baseType, complexType, simpleExtension.Attributes, simpleExtension.AnyAttribute,
XmlSchemaDerivationMethod
.Extension);
938
if (!XmlSchemaType.IsDerivedFromDatatype(simpleRestriction.BaseType.Datatype, baseType.Datatype,
XmlSchemaDerivationMethod
.None))
965
if ((baseType.FinalResolved &
XmlSchemaDerivationMethod
.Restriction) != 0)
990
complexType.SetDerivedBy(
XmlSchemaDerivationMethod
.Restriction);
991
CompileLocalAttributes(baseType, complexType, simpleRestriction.Attributes, simpleRestriction.AnyAttribute,
XmlSchemaDerivationMethod
.Restriction);
1011
if ((baseType.FinalResolved &
XmlSchemaDerivationMethod
.Extension) != 0)
1015
CompileLocalAttributes(baseType, complexType, complexExtension.Attributes, complexExtension.AnyAttribute,
XmlSchemaDerivationMethod
.Extension);
1057
complexType.SetDerivedBy(
XmlSchemaDerivationMethod
.Extension);
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)
1225
if (!element.RefName.IsEmpty && (element.ElementDecl.Block &
XmlSchemaDerivationMethod
.Substitution) == 0)
1642
XmlSchemaDerivationMethod
baseEffectiveBlock =
1643
baseElement.ElementDecl.Block ==
XmlSchemaDerivationMethod
.All ?
1644
XmlSchemaDerivationMethod
.Substitution |
XmlSchemaDerivationMethod
.Restriction |
XmlSchemaDerivationMethod
.Extension :
1646
XmlSchemaDerivationMethod
derivedEffectiveBlock =
1647
derivedElement.ElementDecl.Block ==
XmlSchemaDerivationMethod
.All ?
1648
XmlSchemaDerivationMethod
.Substitution |
XmlSchemaDerivationMethod
.Restriction |
XmlSchemaDerivationMethod
.Extension :
1657
XmlSchemaType.IsDerivedFrom(derivedElement.ElementSchemaType, baseElement.ElementSchemaType, ~(
XmlSchemaDerivationMethod
.Restriction |
XmlSchemaDerivationMethod
.List |
XmlSchemaDerivationMethod
.Union))))
2128
private void CompileLocalAttributes(XmlSchemaComplexType baseType, XmlSchemaComplexType derivedType, XmlSchemaObjectCollection attributes, XmlSchemaAnyAttribute anyAttribute,
XmlSchemaDerivationMethod
derivedBy)
2141
(attr.Use == XmlSchemaUse.Prohibited && derivedBy ==
XmlSchemaDerivationMethod
.Restriction && baseType != XmlSchemaComplexType.AnyType))
2167
(attribute.Use == XmlSchemaUse.Prohibited && derivedBy ==
XmlSchemaDerivationMethod
.Restriction && baseType != XmlSchemaComplexType.AnyType))
2195
if (derivedBy ==
XmlSchemaDerivationMethod
.Extension)
2259
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.IsDerivedFrom(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType,
XmlSchemaDerivationMethod
.Empty))
2327
else if (attributeBase.AttributeSchemaType == null || attribute.AttributeSchemaType == null || !XmlSchemaType.IsDerivedFrom(attribute.AttributeSchemaType, attributeBase.AttributeSchemaType,
XmlSchemaDerivationMethod
.Empty))
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchema.cs (8)
37
private
XmlSchemaDerivationMethod
_blockDefault =
XmlSchemaDerivationMethod
.None;
38
private
XmlSchemaDerivationMethod
_finalDefault =
XmlSchemaDerivationMethod
.None;
293
[XmlAttribute("blockDefault"), DefaultValue(
XmlSchemaDerivationMethod
.None)]
294
public
XmlSchemaDerivationMethod
BlockDefault
304
[XmlAttribute("finalDefault"), DefaultValue(
XmlSchemaDerivationMethod
.None)]
305
public
XmlSchemaDerivationMethod
FinalDefault
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (8)
21
private
XmlSchemaDerivationMethod
_block =
XmlSchemaDerivationMethod
.None;
29
private
XmlSchemaDerivationMethod
_blockResolved;
162
[XmlAttribute("block"), DefaultValue(
XmlSchemaDerivationMethod
.None)]
163
public
XmlSchemaDerivationMethod
Block
275
public
XmlSchemaDerivationMethod
BlockResolved
329
internal void SetBlockResolved(
XmlSchemaDerivationMethod
value)
494
_blockResolved =
XmlSchemaDerivationMethod
.None;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaElement.cs (14)
28
private
XmlSchemaDerivationMethod
_block =
XmlSchemaDerivationMethod
.None;
29
private
XmlSchemaDerivationMethod
_final =
XmlSchemaDerivationMethod
.None;
42
private
XmlSchemaDerivationMethod
_blockResolved;
43
private
XmlSchemaDerivationMethod
_finalResolved;
67
[XmlAttribute("block"), DefaultValue(
XmlSchemaDerivationMethod
.None)]
68
public
XmlSchemaDerivationMethod
Block
90
[XmlAttribute("final"), DefaultValue(
XmlSchemaDerivationMethod
.None)]
91
public
XmlSchemaDerivationMethod
Final
263
public
XmlSchemaDerivationMethod
BlockResolved
273
public
XmlSchemaDerivationMethod
FinalResolved
301
internal void SetBlockResolved(
XmlSchemaDerivationMethod
value)
306
internal void SetFinalResolved(
XmlSchemaDerivationMethod
value)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaType.cs (12)
23
private
XmlSchemaDerivationMethod
_final =
XmlSchemaDerivationMethod
.None;
24
private
XmlSchemaDerivationMethod
_derivedBy;
27
private
XmlSchemaDerivationMethod
_finalResolved;
106
[XmlAttribute("final"), DefaultValue(
XmlSchemaDerivationMethod
.None)]
107
public
XmlSchemaDerivationMethod
Final
128
public
XmlSchemaDerivationMethod
FinalResolved
169
public
XmlSchemaDerivationMethod
DerivedBy
251
internal void SetFinalResolved(
XmlSchemaDerivationMethod
value)
261
internal void SetDerivedBy(
XmlSchemaDerivationMethod
value)
294
public static bool IsDerivedFrom(XmlSchemaType derivedType, XmlSchemaType baseType,
XmlSchemaDerivationMethod
except)
344
internal static bool IsDerivedFromDatatype(XmlSchemaDatatype derivedDataType, XmlSchemaDatatype baseDataType,
XmlSchemaDerivationMethod
except)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (1)
1425
if ((headElem.BlockResolved &
XmlSchemaDerivationMethod
.Substitution) != 0)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlValueConverter.cs (2)
3674
while (schemaType.DerivedBy ==
XmlSchemaDerivationMethod
.Restriction)
3678
Debug.Assert(schemaType.DerivedBy ==
XmlSchemaDerivationMethod
.Union);
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (14)
613
(int)
XmlSchemaDerivationMethod
.Substitution,
614
(int)
XmlSchemaDerivationMethod
.Extension,
615
(int)
XmlSchemaDerivationMethod
.Restriction,
616
(int)
XmlSchemaDerivationMethod
.List,
617
(int)
XmlSchemaDerivationMethod
.Union,
618
(int)
XmlSchemaDerivationMethod
.All,
1150
builder._schema.FinalDefault = (
XmlSchemaDerivationMethod
)builder.ParseBlockFinalEnum(value, "finalDefault");
1155
builder._schema.BlockDefault = (
XmlSchemaDerivationMethod
)builder.ParseBlockFinalEnum(value, "blockDefault");
1352
builder._element.Block = (
XmlSchemaDerivationMethod
)builder.ParseBlockFinalEnum(value, "block");
1372
builder._element.Final = (
XmlSchemaDerivationMethod
)builder.ParseBlockFinalEnum(value, "final");
1491
builder._simpleType.Final = (
XmlSchemaDerivationMethod
)builder.ParseBlockFinalEnum(value, "final");
1619
builder._complexType.Block = (
XmlSchemaDerivationMethod
)builder.ParseBlockFinalEnum(value, "block");
1624
builder._complexType.Final = (
XmlSchemaDerivationMethod
)builder.ParseBlockFinalEnum(value, "final");
2550
if (r == (int)
XmlSchemaDerivationMethod
.All && value.Length > HashAllLength)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (1)
581
private string Write11_XmlSchemaDerivationMethod(
XmlSchemaDerivationMethod
v)
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (45)
2319
if (((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@BlockDefault) != (Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@None))
2321
WriteAttribute(@"blockDefault", @"", Write7_XmlSchemaDerivationMethod(((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@BlockDefault)));
2323
if (((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@FinalDefault) != (Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@None))
2325
WriteAttribute(@"finalDefault", @"", Write7_XmlSchemaDerivationMethod(((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@FinalDefault)));
2847
if (((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Block) != (Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@None))
2849
WriteAttribute(@"block", @"", Write7_XmlSchemaDerivationMethod(((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Block)));
2852
if (((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Final) != (Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@None))
2854
WriteAttribute(@"final", @"", Write7_XmlSchemaDerivationMethod(((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Final)));
3147
if (((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Final) != (Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@None))
3149
WriteAttribute(@"final", @"", Write7_XmlSchemaDerivationMethod(((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Final)));
3889
private string Write7_XmlSchemaDerivationMethod(Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
v)
3894
case Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Empty: s = @""; break;
3895
case Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Substitution: s = @"substitution"; break;
3896
case Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Extension: s = @"extension"; break;
3897
case Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Restriction: s = @"restriction"; break;
3898
case Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@List: s = @"list"; break;
3899
case Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Union: s = @"union"; break;
3900
case Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@All: s = @"#all"; break;
3908
@"#all" }, new System.Int64[] { (long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Empty,
3909
(long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Substitution,
3910
(long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Extension,
3911
(long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Restriction,
3912
(long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@List,
3913
(long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Union,
3914
(long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@All }, @"System.Xml.Schema.XmlSchemaDerivationMethod"); break;
3953
if (((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Final) != (Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@None))
3955
WriteAttribute(@"final", @"", Write7_XmlSchemaDerivationMethod(((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Final)));
3961
if (((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Block) != (Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@None))
3963
WriteAttribute(@"block", @"", Write7_XmlSchemaDerivationMethod(((Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)o.@Block)));
10723
h.Add(@"", (long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Empty);
10724
h.Add(@"substitution", (long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Substitution);
10725
h.Add(@"extension", (long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Extension);
10726
h.Add(@"restriction", (long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Restriction);
10727
h.Add(@"list", (long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@List);
10728
h.Add(@"union", (long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@Union);
10729
h.Add(@"#all", (long)Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
.@All);
10736
private Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
Read7_XmlSchemaDerivationMethod(string s)
10738
return (Microsoft.Xml.Schema.
XmlSchemaDerivationMethod
)ToEnum(s, XmlSchemaDerivationMethodValues, @"System.Xml.Schema.XmlSchemaDerivationMethod");