Definition at line 1741 of file Compiler.cs.
1742 {
1744 if (particle
is XmlSchemaElement || particle
is XmlSchemaAny)
1745 {
1748 return;
1749 }
1751 {
1753 {
1755 return;
1756 }
1760 {
1763 {
1765 }
1767 {
1769 }
1770 }
1773 {
1774 if (particle.MaxOccurs == decimal.MaxValue)
1775 {
1777 }
1778 else
1779 {
1781 }
1782 }
1783 return;
1784 }
1785 XmlSchemaObjectCollection items = ((XmlSchemaGroupBase)particle).Items;
1786 if (items.Count == 0)
1787 {
1789 return;
1790 }
1793 for (
int j = 0;
j < items.
Count;
j++)
1794 {
1798 {
1800 {
1802 }
1803 else
1804 {
1806 }
1807 }
1808 }
1811 {
1812 if (particle.MaxOccurs == decimal.MaxValue)
1813 {
1815 }
1816 else
1817 {
1819 }
1820 }
1821 }
void CalculateEffectiveTotalRange(XmlSchemaParticle particle, out decimal minOccurs, out decimal maxOccurs)
References System.Xml.Schema.Compiler.CalculateEffectiveTotalRange(), System.Collections.CollectionBase.Count, System.Collections.Generic.Dictionary< TKey, TValue >.Count, System.Xml.Dictionary, System.Xml.Schema.XmlSchemaParticle.MaxOccurs, and System.Xml.Schema.XmlSchemaParticle.MinOccurs.
Referenced by System.Xml.Schema.Compiler.CalculateEffectiveTotalRange(), System.Xml.Schema.Compiler.IsGroupBaseFromAny(), and System.Xml.Schema.Compiler.IsParticleEmptiable().