179 {
180 int num = Value.Length -
Index;
181 matchLength = target.Length;
183 {
184 int num2 = 0;
187 if (num4 == -1)
188 {
189 return false;
190 }
191 do
192 {
193 int num5 = num4 - num2;
195 {
196 return false;
197 }
198 if (num5 == 0)
199 {
200 matchLength--;
201 }
202 else
203 {
204 if (!
char.IsWhiteSpace(
Value[num3 + num5]))
205 {
206 return false;
207 }
209 {
210 return false;
211 }
212 num3 = num3 + num5 + 1;
213 }
214 num2 = num4 + 1;
216 {
217 num3++;
218 matchLength++;
219 }
220 }
222 if (num2 < target.Length)
223 {
224 int num6 = target.Length - num2;
226 {
227 return false;
228 }
230 {
231 return false;
232 }
233 }
234 }
235 if (checkWordBoundary)
236 {
237 int num7 =
Index + matchLength;
239 {
240 return false;
241 }
242 }
243 return true;
244 }
int Compare(string? string1, string? string2)
int CompareOptionIgnoreCase(ReadOnlySpan< char > string1, ReadOnlySpan< char > string2)
ReadOnlySpan< T > Slice(int start)
readonly CompareInfo m_info
ReadOnlySpan< char > Value
static readonly char[] WhiteSpaceChecks