3 types derived from XmlSchemaGroupBase
System.Xml (3)
System\Xml\Schema\XmlSchemaAll.cs (1)
17
public class XmlSchemaAll :
XmlSchemaGroupBase
{
System\Xml\Schema\XmlSchemaChoice.cs (1)
17
public class XmlSchemaChoice :
XmlSchemaGroupBase
{
System\Xml\Schema\XmlSchemaSequence.cs (1)
16
public class XmlSchemaSequence :
XmlSchemaGroupBase
{
111 references to XmlSchemaGroupBase
System.Data (1)
fx\src\data\System\Data\DataSet.cs (1)
3596
XmlSchemaObjectCollection items = ((
XmlSchemaGroupBase
)ct.Particle).Items;
System.Xml (110)
System\Xml\Schema\Preprocessor.cs (2)
902
else if (items[i] is
XmlSchemaGroupBase
) {
903
count += CountGroupSelfReference(((
XmlSchemaGroupBase
)items[i]).Items, name, redefined);
System\Xml\Schema\SchemaCollectionCompiler.cs (27)
332
else if (particle is
XmlSchemaGroupBase
) {
333
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
913
XmlSchemaGroupBase
groupBase = (
XmlSchemaGroupBase
)group.CanonicalParticle;
930
XmlSchemaGroupBase
groupRefBase = (
931
(groupBase is XmlSchemaSequence) ? (
XmlSchemaGroupBase
)new XmlSchemaSequence() :
932
(groupBase is XmlSchemaChoice) ? (
XmlSchemaGroupBase
)new XmlSchemaChoice() :
933
(
XmlSchemaGroupBase
)new XmlSchemaAll()
1076
return IsGroupBaseFromAny((
XmlSchemaGroupBase
)derivedParticle, (XmlSchemaAny)baseParticle);
1081
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true);
1084
return IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true);
1092
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, false);
1095
return IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, false);
1103
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true);
1106
return IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true);
1136
private bool IsGroupBaseFromAny(
XmlSchemaGroupBase
derivedGroupBase, XmlSchemaAny baseAny) {
1156
private bool IsElementFromGroupBase(XmlSchemaElement derivedElement,
XmlSchemaGroupBase
baseGroupBase, bool skipEmptableOnly) {
1181
private bool IsGroupBaseFromGroupBase(
XmlSchemaGroupBase
derivedGroupBase,
XmlSchemaGroupBase
baseGroupBase, bool skipEmptableOnly) {
1316
XmlSchemaObjectCollection collection = ((
XmlSchemaGroupBase
)particle).Items;
2071
else if (particle is
XmlSchemaGroupBase
) {
2072
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
2126
else if (particle is
XmlSchemaGroupBase
) {
2127
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
System\Xml\Schema\SchemaCollectionpreProcessor.cs (2)
596
else if (items[i] is
XmlSchemaGroupBase
) {
597
count += CountGroupSelfReference(((
XmlSchemaGroupBase
) items[i]).Items, name);
System\Xml\Schema\SchemaSetCompiler.cs (31)
341
XmlSchemaGroupBase
groupBase = particle as
XmlSchemaGroupBase
;
1011
XmlSchemaGroupBase
groupBase = (
XmlSchemaGroupBase
)group.CanonicalParticle;
1028
XmlSchemaGroupBase
groupRefBase = (
1029
(groupBase is XmlSchemaSequence) ? (
XmlSchemaGroupBase
)new XmlSchemaSequence() :
1030
(groupBase is XmlSchemaChoice) ? (
XmlSchemaGroupBase
)new XmlSchemaChoice() :
1031
(
XmlSchemaGroupBase
)new XmlSchemaAll()
1222
return IsGroupBaseFromAny((
XmlSchemaGroupBase
)derivedParticle, (XmlSchemaAny)baseParticle);
1227
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle);
1230
if(IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true)) {
1247
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
) baseParticle);
1273
return IsElementFromGroupBase((XmlSchemaElement)derivedParticle, (
XmlSchemaGroupBase
)baseParticle);
1275
else if (derivedParticle is XmlSchemaSequence || (derivedParticle is XmlSchemaAll && ((
XmlSchemaGroupBase
)derivedParticle).Items.Count ==1)) {
1276
if (IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)derivedParticle, (
XmlSchemaGroupBase
)baseParticle, true)) {
1347
private bool IsGroupBaseFromAny(
XmlSchemaGroupBase
derivedGroupBase, XmlSchemaAny baseAny) {
1412
private bool IsElementFromGroupBase(XmlSchemaElement derivedElement,
XmlSchemaGroupBase
baseGroupBase) {
1418
if (IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)virtualSeq, baseGroupBase, true)) {
1428
if (IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)virtualChoice, baseGroupBase, false)) {
1438
if (IsGroupBaseFromGroupBase((
XmlSchemaGroupBase
)virtualAll, baseGroupBase, true)) {
1459
private bool IsGroupBaseFromGroupBase(
XmlSchemaGroupBase
derivedGroupBase,
XmlSchemaGroupBase
baseGroupBase, bool skipEmptableOnly) {
1590
XmlSchemaObjectCollection collection = ((
XmlSchemaGroupBase
)particle).Items;
2428
else if (particle is
XmlSchemaGroupBase
) {
2429
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
2483
else if (particle is
XmlSchemaGroupBase
) {
2484
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
2496
else if (particle is
XmlSchemaGroupBase
) {
2497
XmlSchemaObjectCollection particles = ((
XmlSchemaGroupBase
)particle).Items;
System\Xml\Schema\XmlSchemaComplexType.cs (6)
470
XmlSchemaGroupBase
groupBase = particle as
XmlSchemaGroupBase
;
472
XmlSchemaGroupBase
newGroupBase = groupBase;
475
newGroupBase = (
XmlSchemaGroupBase
)groupBase.Clone();
516
XmlSchemaGroupBase
groupBase = particle as
XmlSchemaGroupBase
;
System\Xml\Schema\XmlSchemaGroup.cs (3)
18
XmlSchemaGroupBase
particle;
41
public
XmlSchemaGroupBase
Particle {
87
newGroup.particle = XmlSchemaComplexType.CloneParticle(this.particle, parentSchema) as
XmlSchemaGroupBase
;
System\Xml\Schema\XmlSchemaGroupRef.cs (3)
18
XmlSchemaGroupBase
particle;
36
public
XmlSchemaGroupBase
Particle {
40
internal void SetParticle(
XmlSchemaGroupBase
value) {
System\Xml\Schema\XsdBuilder.cs (2)
2209
group.Particle = (
XmlSchemaGroupBase
)particle;
2213
((
XmlSchemaGroupBase
)this.ParentContainer).Items.Add(particle);
System\Xml\Serialization\ImportContext.cs (4)
330
else if (particle is
XmlSchemaGroupBase
) {
331
particle = (
XmlSchemaGroupBase
)particle;
405
else if (typeof(
XmlSchemaGroupBase
).IsAssignableFrom(t)) {
406
foreach (XmlSchemaObject o in ((
XmlSchemaGroupBase
)item).Items) {
System\Xml\Serialization\SoapSchemaExporter.cs (3)
239
void ExportElementAccessors(
XmlSchemaGroupBase
group, ElementAccessor[] accessors, bool repeats, bool valueTypeOptional, string ns) {
256
void ExportElementAccessor(
XmlSchemaGroupBase
group, ElementAccessor accessor, bool repeats, bool valueTypeOptional, string ns) {
321
XmlSchemaGroupBase
seq = new XmlSchemaSequence();
System\Xml\Serialization\SoapSchemaImporter.cs (8)
263
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
) type.Particle;
364
else if (particle is
XmlSchemaGroupBase
) {
365
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)particle;
370
if (item is
XmlSchemaGroupBase
|| item is XmlSchemaGroupRef)
475
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)particle;
System\Xml\Serialization\XmlSchemaExporter.cs (3)
590
void ExportElementAccessors(
XmlSchemaGroupBase
group, ElementAccessor[] accessors, bool repeats, bool valueTypeOptional, string ns) {
719
void ExportElementAccessor(
XmlSchemaGroupBase
group, ElementAccessor accessor, bool repeats, bool valueTypeOptional, string ns) {
923
XmlSchemaGroupBase
seq = new XmlSchemaSequence();
System\Xml\Serialization\XmlSchemaImporter.cs (16)
645
internal
XmlSchemaGroupBase
Particle;
739
else if (particle is
XmlSchemaGroupBase
) {
740
items.Particle = (
XmlSchemaGroupBase
)particle;
747
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) {
758
MemberMapping ImportChoiceGroup(
XmlSchemaGroupBase
group, string identifier, CodeIdentifiers members, CodeIdentifiers membersScope, INameScope elementsScope, string ns, bool groupRepeats, ref bool needExplicitOrder, bool allowDuplicates) {
900
else if (particle is
XmlSchemaGroupBase
) {
901
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)particle;
907
if (item is
XmlSchemaGroupBase
|| item is XmlSchemaGroupRef) {
979
else if (particle is
XmlSchemaGroupBase
) {
980
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
)particle;
992
ImportChoiceGroup((
XmlSchemaGroupBase
)item, identifier, members, membersScope, elementsScope, ns, groupRepeats, ref needExplicitOrder, allowDuplicates);
1199
XmlSchemaGroupBase
item = items.Particle;
1288
XmlSchemaGroupBase
group = (
XmlSchemaGroupBase
) items.Particle;