4 writes to type
System.Xml (4)
System\Xml\Schema\NamespaceList.cs (4)
33
type
= ListType.Any;
36
type
= ListType.Other;
39
type
= ListType.Set;
275
nslist.
type
= ListType.Set;
32 references to type
System.Xml (32)
System\Xml\Schema\NamespaceList.cs (32)
59
if (
type
== ListType.Set) {
67
get { return
type
; }
76
switch (
type
) {
88
switch (
type
) {
105
switch (
type
) {
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
283
else if (o1.
type
== ListType.Other && o2.
type
== ListType.Other) {
308
return ((
type
== ListType.Set) && ((set == null) || set.Count == 0));