Definition at line 77 of file LikeNode.cs.
78 {
84 char[] array2 =
new char[
length + 1];
85 int num = 0;
86 int num2 = 0;
89 {
91 {
93 {
94 }
95 if ((i < length && num > 0) || num2 >= 2)
96 {
97 throw ExprException.InvalidPattern(pat);
98 }
99 num2++;
100 }
101 else if (
array[i] ==
'[')
102 {
105 {
106 throw ExprException.InvalidPattern(pat);
107 }
108 array2[num++] =
array[
i++];
110 {
111 throw ExprException.InvalidPattern(pat);
112 }
114 {
115 throw ExprException.InvalidPattern(pat);
116 }
118 }
119 else
120 {
123 }
124 }
126 if (num2 == 0)
127 {
129 }
130 else if (num > 0)
131 {
133 {
135 {
137 }
138 else
139 {
141 }
142 }
143 else
144 {
146 }
147 }
148 else
149 {
151 }
153 }
References System.Data.LikeNode._kind, System.array, System.Data.ExprException.InvalidPattern(), System.length, and System.text.
Referenced by System.Data.LikeNode.Eval().