57 references to ListType
System.Xml (57)
System\Xml\Schema\ContentValidator.cs (5)
91
case NamespaceList.
ListType
.Any:
94
case NamespaceList.
ListType
.Other:
101
case NamespaceList.
ListType
.Set:
139
if (list.Type == NamespaceList.
ListType
.Any || list.Type == NamespaceList.
ListType
.Other) {
System\Xml\Schema\NamespaceList.cs (45)
21
private
ListType
type =
ListType
.Any;
33
type =
ListType
.Any;
36
type =
ListType
.Other;
39
type =
ListType
.Set;
59
if (type ==
ListType
.Set) {
66
public
ListType
Type {
77
case
ListType
.Set:
79
case
ListType
.Other:
80
case
ListType
.Any:
89
case
ListType
.Any:
91
case
ListType
.Other:
93
case
ListType
.Set:
106
case
ListType
.Any:
108
case
ListType
.Other:
110
case
ListType
.Set:
137
if (super.type ==
ListType
.Any) {
140
else if (sub.type ==
ListType
.Other && super.type ==
ListType
.Other) {
143
else if (sub.type ==
ListType
.Set) {
144
if (super.type ==
ListType
.Other) {
148
Debug.Assert(super.type ==
ListType
.Set);
164
if (o1.type ==
ListType
.Any) { //clause 2 - o1 is Any
167
else if (o2.type ==
ListType
.Any) { //clause 2 - o2 is Any
170
else if (o1.type ==
ListType
.Set && o2.type ==
ListType
.Set) { //clause 3 , both are sets
176
else if (o1.type ==
ListType
.Other && o2.type ==
ListType
.Other) { //clause 4, both are negations
184
else if (o1.type ==
ListType
.Set && o2.type ==
ListType
.Other) {
205
else if (o2.type ==
ListType
.Set && o1.type ==
ListType
.Other) {
252
if (o1.type ==
ListType
.Any) { //clause 2 - o1 is any
255
else if (o2.type ==
ListType
.Any) { //clause 2 - o2 is any
258
else if (o1.type ==
ListType
.Set && o2.type ==
ListType
.Other) { //Clause 3 o2 is other
265
else if (o1.type ==
ListType
.Other && o2.type ==
ListType
.Set) { //Clause 3 o1 is other
272
else if (o1.type ==
ListType
.Set && o2.type ==
ListType
.Set) { //clause 4
275
nslist.type =
ListType
.Set;
283
else if (o1.type ==
ListType
.Other && o2.type ==
ListType
.Other) {
308
return ((type ==
ListType
.Set) && ((set == null) || set.Count == 0));
317
if (this.Type ==
ListType
.Other) {
System\Xml\Schema\XmlSchemaAny.cs (3)
66
case NamespaceList.
ListType
.Any:
69
case NamespaceList.
ListType
.Other:
72
case NamespaceList.
ListType
.Set:
System\Xml\Serialization\SchemaObjectWriter.cs (3)
195
case NamespaceList.
ListType
.Any:
197
case NamespaceList.
ListType
.Other:
199
case NamespaceList.
ListType
.Set:
System\Xml\Serialization\XmlSchemaImporter.cs (1)
1140
if (list.Type == NamespaceList.
ListType
.Set) {