3 types derived from XmlSchemaGroupBase
dotnet-svcutil-lib (3)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaAll.cs (1)
18
public class XmlSchemaAll :
XmlSchemaGroupBase
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaChoice.cs (1)
18
public class XmlSchemaChoice :
XmlSchemaGroupBase
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaSequence.cs (1)
17
public class XmlSchemaSequence :
XmlSchemaGroupBase
116 references to XmlSchemaGroupBase
dotnet-svcutil-lib (116)
FrameworkFork\Microsoft.Xml\Xml\schema\Preprocessor.cs (2)
1086
else if (items[i] is
XmlSchemaGroupBase
)
1088
count += CountGroupSelfReference(((
XmlSchemaGroupBase
)items[i]).Items, name, redefined);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionCompiler.cs (30)
412
else if (particle is
XmlSchemaGroupBase
)
414
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
1149
XmlSchemaGroupBase
groupBase = (
XmlSchemaGroupBase
)group.CanonicalParticle;
1171
XmlSchemaGroupBase
groupRefBase = (
1172
(groupBase is XmlSchemaSequence) ? (
XmlSchemaGroupBase
)new XmlSchemaSequence() :
1173
(groupBase is XmlSchemaChoice) ? (
XmlSchemaGroupBase
)new XmlSchemaChoice() :
1174
(
XmlSchemaGroupBase
)new XmlSchemaAll()
1359
return IsGroupBaseFromAny((
XmlSchemaGroupBase
)derivedParticle, (XmlSchemaAny)baseParticle);
1366
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true);
1370
return IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true);
1381
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, false);
1385
return IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, false);
1396
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true);
1400
return IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true);
1434
private bool IsGroupBaseFromAny(
XmlSchemaGroupBase
derivedGroupBase, XmlSchemaAny baseAny)
1458
private bool IsElementFromGroupBase(XmlSchemaElement derivedElement,
XmlSchemaGroupBase
baseGroupBase, bool skipEmptableOnly)
1488
private bool IsGroupBaseFromGroupBase(
XmlSchemaGroupBase
derivedGroupBase,
XmlSchemaGroupBase
baseGroupBase, bool skipEmptableOnly)
1660
XmlSchemaObjectCollection collection = ((
XmlSchemaGroupBase
)particle).Items;
2555
else if (particle is
XmlSchemaGroupBase
)
2557
XmlSchemaGroupBase
gb = (
XmlSchemaGroupBase
)particle;
2615
else if (particle is
XmlSchemaGroupBase
)
2617
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
2686
else if (particle is
XmlSchemaGroupBase
)
2688
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaCollectionPreprocessor.cs (2)
737
else if (items[i] is
XmlSchemaGroupBase
)
739
count += CountGroupSelfReference(((
XmlSchemaGroupBase
)items[i]).Items, name);
FrameworkFork\Microsoft.Xml\Xml\schema\SchemaSetCompiler.cs (34)
423
XmlSchemaGroupBase
groupBase = particle as
XmlSchemaGroupBase
;
1275
XmlSchemaGroupBase
groupBase = (
XmlSchemaGroupBase
)group.CanonicalParticle;
1297
XmlSchemaGroupBase
groupRefBase = (
1298
(groupBase is XmlSchemaSequence) ? (
XmlSchemaGroupBase
)new XmlSchemaSequence() :
1299
(groupBase is XmlSchemaChoice) ? (
XmlSchemaGroupBase
)new XmlSchemaChoice() :
1300
(
XmlSchemaGroupBase
)new XmlSchemaAll()
1545
return IsGroupBaseFromAny((
XmlSchemaGroupBase
)derivedParticle, (XmlSchemaAny)baseParticle);
1552
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle);
1556
if (IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true))
1579
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle);
1613
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle);
1615
else if (derivedParticle is XmlSchemaSequence || (derivedParticle is XmlSchemaAll && ((
XmlSchemaGroupBase
)derivedParticle).Items.Count == 1))
1617
if (IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true))
1700
private bool IsGroupBaseFromAny(
XmlSchemaGroupBase
derivedGroupBase, XmlSchemaAny baseAny)
1769
private bool IsElementFromGroupBase(XmlSchemaElement derivedElement,
XmlSchemaGroupBase
baseGroupBase)
1777
if (IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)virtualSeq, baseGroupBase, true))
1789
if (IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)virtualChoice, baseGroupBase, false))
1801
if (IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)virtualAll, baseGroupBase, true))
1827
private bool IsGroupBaseFromGroupBase(
XmlSchemaGroupBase
derivedGroupBase,
XmlSchemaGroupBase
baseGroupBase, bool skipEmptableOnly)
1995
XmlSchemaObjectCollection collection = ((
XmlSchemaGroupBase
)particle).Items;
2998
else if (particle is
XmlSchemaGroupBase
)
3000
XmlSchemaGroupBase
gb = (
XmlSchemaGroupBase
)particle;
3060
else if (particle is
XmlSchemaGroupBase
)
3062
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
3131
else if (particle is
XmlSchemaGroupBase
)
3133
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
3148
else if (particle is
XmlSchemaGroupBase
)
3150
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaComplexType.cs (6)
545
XmlSchemaGroupBase
groupBase = particle as
XmlSchemaGroupBase
;
548
XmlSchemaGroupBase
newGroupBase = groupBase;
551
newGroupBase = (
XmlSchemaGroupBase
)groupBase.Clone();
599
XmlSchemaGroupBase
groupBase = particle as
XmlSchemaGroupBase
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaGroup.cs (3)
20
private
XmlSchemaGroupBase
_particle;
44
public
XmlSchemaGroupBase
Particle
100
newGroup._particle = XmlSchemaComplexType.CloneParticle(_particle, parentSchema) as
XmlSchemaGroupBase
;
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaGroupRef.cs (3)
20
private
XmlSchemaGroupBase
_particle;
39
public
XmlSchemaGroupBase
Particle
44
internal void SetParticle(
XmlSchemaGroupBase
value)
FrameworkFork\Microsoft.Xml\Xml\schema\XsdBuilder.cs (2)
2423
_group.Particle = (
XmlSchemaGroupBase
)particle;
2427
((
XmlSchemaGroupBase
)this.ParentContainer).Items.Add(particle);
FrameworkFork\Microsoft.Xml\Xml\Serialization\ImportContext.cs (4)
387
else if (particle is
XmlSchemaGroupBase
)
389
particle = (
XmlSchemaGroupBase
)particle;
483
else if (typeof(
XmlSchemaGroupBase
).IsAssignableFrom(t))
485
foreach (XmlSchemaObject o in ((
XmlSchemaGroupBase
)item).Items)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaExporter.cs (3)
274
private void ExportElementAccessors(
XmlSchemaGroupBase
group, ElementAccessor[] accessors, bool repeats, bool valueTypeOptional, string ns)
294
private void ExportElementAccessor(
XmlSchemaGroupBase
group, ElementAccessor accessor, bool repeats, bool valueTypeOptional, string ns)
370
XmlSchemaGroupBase
seq = new XmlSchemaSequence();
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapSchemaImporter.cs (8)
288
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)type.Particle;
408
else if (particle is
XmlSchemaGroupBase
)
410
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)particle;
416
if (item is
XmlSchemaGroupBase
|| item is XmlSchemaGroupRef)
533
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)particle;
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaExporter.cs (3)
687
private void ExportElementAccessors(
XmlSchemaGroupBase
group, ElementAccessor[] accessors, bool repeats, bool valueTypeOptional, string ns)
842
private void ExportElementAccessor(
XmlSchemaGroupBase
group, ElementAccessor accessor, bool repeats, bool valueTypeOptional, string ns)
1082
XmlSchemaGroupBase
seq = new XmlSchemaSequence();
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlSchemaImporter.cs (16)
734
internal
XmlSchemaGroupBase
Particle;
848
else if (particle is
XmlSchemaGroupBase
)
850
items.Particle = (
XmlSchemaGroupBase
)particle;
857
private void ImportGroup(
XmlSchemaGroupBase
group, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool mixed, ref bool needExplicitOrder, bool allowDuplicates, bool groupRepeats, bool allowUnboundedElements)
870
private MemberMapping ImportChoiceGroup(
XmlSchemaGroupBase
group, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool groupRepeats, ref bool needExplicitOrder, bool allowDuplicates)
1032
else if (particle is
XmlSchemaGroupBase
)
1034
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)particle;
1041
if (item is
XmlSchemaGroupBase
|| item is XmlSchemaGroupRef)
1131
else if (particle is
XmlSchemaGroupBase
)
1133
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)particle;
1148
ImportChoiceGroup((
XmlSchemaGroupBase
)item, identifier, members, membersScope, elementsScope, ns, groupRepeats, ref needExplicitOrder, allowDuplicates);
1383
XmlSchemaGroupBase
item = items.Particle;
1476
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)items.Particle;