13 instantiations of XmlSchemaChoice
dotnet-svcutil-lib (13)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (1)
1194
XmlSchemaChoice xsc = new
XmlSchemaChoice
();
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (2)
1173
(groupBase is XmlSchemaChoice) ? (XmlSchemaGroupBase)new
XmlSchemaChoice
() :
1238
XmlSchemaChoice newChoice = new
XmlSchemaChoice
();
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (4)
1234
XmlSchemaChoice choice = new
XmlSchemaChoice
();
1299
(groupBase is XmlSchemaChoice) ? (XmlSchemaGroupBase)new
XmlSchemaChoice
() :
1352
XmlSchemaChoice newChoice = new
XmlSchemaChoice
();
1785
XmlSchemaChoice virtualChoice = new
XmlSchemaChoice
();
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSubstitutionGroup.cs (1)
35
private XmlSchemaChoice _choice = new
XmlSchemaChoice
();
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (1)
1977
builder._xso = builder._particle = builder._choice = new
XmlSchemaChoice
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
283
XmlSchemaChoice choice = new
XmlSchemaChoice
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (1)
696
XmlSchemaChoice choice = new
XmlSchemaChoice
();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (1)
1201
XmlSchemaChoice choice = new
XmlSchemaChoice
();
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (1)
11544
o = new Microsoft.Xml.Schema.
XmlSchemaChoice
();
120 references to XmlSchemaChoice
dotnet-svcutil-lib (120)
FrameworkFork\Microsoft.Xml\Xml\schema\Inference\infer.cs (4)
1077
if (xss.Items[0].GetType() == typeof(
XmlSchemaChoice
))
1079
XmlSchemaChoice
xsch = (
XmlSchemaChoice
)xss.Items[0];
1194
XmlSchemaChoice
xsc = new XmlSchemaChoice();
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
1974
if (particle is
XmlSchemaChoice
)
1976
items = ((
XmlSchemaChoice
)particle).Items;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (24)
1058
XmlSchemaChoice
choice = ctp as
XmlSchemaChoice
;
1088
else if (particle is
XmlSchemaChoice
)
1090
return CannonicalizeChoice((
XmlSchemaChoice
)particle, root, substitution);
1113
XmlSchemaChoice
choice = (
XmlSchemaChoice
)substitutionGroup.Choice.Clone();
1163
else if (groupBase is
XmlSchemaChoice
&& groupBase.Items.Count == 0)
1173
(groupBase is
XmlSchemaChoice
) ? (XmlSchemaGroupBase)new XmlSchemaChoice() :
1233
private XmlSchemaParticle CannonicalizeChoice(
XmlSchemaChoice
choice, bool root, bool substitution)
1235
XmlSchemaChoice
oldChoice = choice;
1238
XmlSchemaChoice
newChoice = new XmlSchemaChoice();
1246
if (p1.MinOccurs == decimal.One && p1.MaxOccurs == decimal.One && p1 is
XmlSchemaChoice
)
1248
XmlSchemaChoice
particleChoice = (
XmlSchemaChoice
)p1;
1377
else if (baseParticle is
XmlSchemaChoice
)
1383
else if (derivedParticle is
XmlSchemaChoice
)
1389
return IsSequenceFromChoice((XmlSchemaSequence)derivedParticle, (
XmlSchemaChoice
)baseParticle);
1550
private bool IsSequenceFromChoice(XmlSchemaSequence derivedSequence,
XmlSchemaChoice
baseChoice)
1624
else if (particle is
XmlSchemaChoice
)
1626
if (((
XmlSchemaChoice
)particle).Items.Count == 0)
1634
XmlSchemaChoice
choice = (
XmlSchemaChoice
)particle;
2559
string delimeter = (particle is
XmlSchemaChoice
) ? " | " : ", ";
2618
bool isChoice = particle is
XmlSchemaChoice
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
1620
XmlSchemaChoice
choice = particle as
XmlSchemaChoice
;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (33)
1178
XmlSchemaChoice
choice = ctp as
XmlSchemaChoice
;
1209
else if (particle is
XmlSchemaChoice
)
1211
return CannonicalizeChoice((
XmlSchemaChoice
)particle, root);
1234
XmlSchemaChoice
choice = new XmlSchemaChoice();
1289
else if (groupBase is
XmlSchemaChoice
&& groupBase.Items.Count == 0)
1299
(groupBase is
XmlSchemaChoice
) ? (XmlSchemaGroupBase)new XmlSchemaChoice() :
1347
private XmlSchemaParticle CannonicalizeChoice(
XmlSchemaChoice
choice, bool root)
1349
XmlSchemaChoice
oldChoice = choice;
1352
XmlSchemaChoice
newChoice = new XmlSchemaChoice();
1361
if (p1.MinOccurs == decimal.One && p1.MaxOccurs == decimal.One && p1 is
XmlSchemaChoice
)
1363
XmlSchemaChoice
p1Choice = p1 as
XmlSchemaChoice
;
1445
XmlSchemaChoice
xsc;
1461
else if ((xsc = (particle as
XmlSchemaChoice
)) != null)
1519
if (newBaseParticle is
XmlSchemaChoice
)
1569
else if (derivedParticle is
XmlSchemaChoice
|| derivedParticle is XmlSchemaAny)
1575
else if (baseParticle is
XmlSchemaChoice
)
1581
else if (derivedParticle is
XmlSchemaChoice
)
1583
XmlSchemaChoice
baseChoice = baseParticle as
XmlSchemaChoice
;
1584
XmlSchemaChoice
derivedChoice = derivedParticle as
XmlSchemaChoice
;
1597
if (IsSequenceFromChoice((XmlSchemaSequence)derivedParticle, (
XmlSchemaChoice
)baseParticle))
1783
else if (baseGroupBase is
XmlSchemaChoice
)
1785
XmlSchemaChoice
virtualChoice = new XmlSchemaChoice();
1810
private bool IsChoiceFromChoiceSubstGroup(
XmlSchemaChoice
derivedChoice,
XmlSchemaChoice
baseChoice)
1900
private bool IsSequenceFromChoice(XmlSchemaSequence derivedSequence,
XmlSchemaChoice
baseChoice)
1953
XmlSchemaChoice
choice = particle as
XmlSchemaChoice
;
3002
string delimeter = (particle is
XmlSchemaChoice
) ? " | " : ", ";
3063
bool isChoice = particle is
XmlSchemaChoice
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaChoice.cs (1)
28
XmlElement("choice", typeof(
XmlSchemaChoice
)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexContentExtension.cs (1)
41
XmlElement("choice", typeof(
XmlSchemaChoice
)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexContentRestriction.cs (1)
41
XmlElement("choice", typeof(
XmlSchemaChoice
)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (1)
211
XmlElement("choice", typeof(
XmlSchemaChoice
)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaGroup.cs (1)
41
[XmlElement("choice", typeof(
XmlSchemaChoice
)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSequence.cs (1)
27
XmlElement("choice", typeof(
XmlSchemaChoice
)),
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSubstitutionGroup.cs (2)
35
private
XmlSchemaChoice
_choice = new XmlSchemaChoice();
38
internal
XmlSchemaChoice
Choice
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (2)
665
private
XmlSchemaChoice
_choice;
1023
_choice = (
XmlSchemaChoice
)container;
FrameworkFork\Microsoft.Xml\Xml\Serialization\SchemaObjectWriter.cs (16)
111
else if (o is
XmlSchemaChoice
)
113
XmlSchemaChoice
c = (
XmlSchemaChoice
)o;
414
else if (t == typeof(
XmlSchemaChoice
))
416
Write52_XmlSchemaChoice((
XmlSchemaChoice
)o);
835
else if (o.@Particle is
XmlSchemaChoice
)
837
Write52_XmlSchemaChoice((
XmlSchemaChoice
)o.@Particle);
942
else if (o.@Particle is
XmlSchemaChoice
)
944
Write52_XmlSchemaChoice((
XmlSchemaChoice
)o.@Particle);
1134
private void Write52_XmlSchemaChoice(
XmlSchemaChoice
o)
1189
else if (ai is
XmlSchemaChoice
)
1191
Write52_XmlSchemaChoice((
XmlSchemaChoice
)ai);
1246
else if (o.@Particle is
XmlSchemaChoice
)
1248
Write52_XmlSchemaChoice((
XmlSchemaChoice
)o.@Particle);
1272
else if (o.@Particle is
XmlSchemaChoice
)
1274
Write52_XmlSchemaChoice((
XmlSchemaChoice
)o.@Particle);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (1)
283
XmlSchemaChoice
choice = new XmlSchemaChoice();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (1)
392
if (group is
XmlSchemaChoice
)
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (3)
660
if (seq.Items[0] is
XmlSchemaChoice
)
662
type.Particle = (
XmlSchemaChoice
)seq.Items[0];
696
XmlSchemaChoice
choice = new XmlSchemaChoice();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (8)
859
if (group is
XmlSchemaChoice
)
860
ImportChoiceGroup((
XmlSchemaChoice
)group, identifier, members, membersScope, elementsScope, ns, groupRepeats, ref needExplicitOrder, allowDuplicates);
1078
if (!groupRepeats && !(group is
XmlSchemaChoice
) && group.Items.Count > 1)
1147
if (item is
XmlSchemaChoice
)
1201
XmlSchemaChoice
choice = new XmlSchemaChoice();
1389
if (item is
XmlSchemaChoice
)
1391
XmlSchemaChoice
choice = (
XmlSchemaChoice
)item;
FrameworkFork\System.Web.Services\Services\Description\ServiceDescriptionSerializer.cs (16)
2654
else if (o.@Particle is Microsoft.Xml.Schema.
XmlSchemaChoice
)
2656
Write54_XmlSchemaChoice(@"choice", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaChoice
)o.@Particle), false, false);
2717
if (ai is Microsoft.Xml.Schema.
XmlSchemaChoice
)
2719
Write54_XmlSchemaChoice(@"choice", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaChoice
)ai), false, false);
3988
if (o.@Particle is Microsoft.Xml.Schema.
XmlSchemaChoice
)
3990
Write54_XmlSchemaChoice(@"choice", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaChoice
)o.@Particle), false, false);
4288
private void Write54_XmlSchemaChoice(string n, string ns, Microsoft.Xml.Schema.
XmlSchemaChoice
o, bool isNullable, bool needType)
4298
if (t == typeof(Microsoft.Xml.Schema.
XmlSchemaChoice
))
4336
else if (ai is Microsoft.Xml.Schema.
XmlSchemaChoice
)
4338
Write54_XmlSchemaChoice(@"choice", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaChoice
)ai), false, false);
4465
else if (o.@Particle is Microsoft.Xml.Schema.
XmlSchemaChoice
)
4467
Write54_XmlSchemaChoice(@"choice", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaChoice
)o.@Particle), false, false);
4556
else if (o.@Particle is Microsoft.Xml.Schema.
XmlSchemaChoice
)
4558
Write54_XmlSchemaChoice(@"choice", @"http://www.w3.org/2001/XMLSchema", ((Microsoft.Xml.Schema.
XmlSchemaChoice
)o.@Particle), false, false);
11528
private Microsoft.Xml.Schema.
XmlSchemaChoice
Read54_XmlSchemaChoice(bool isNullable, bool checkType)
11543
Microsoft.Xml.Schema.
XmlSchemaChoice
o;