Definition at line 3285 of file String.cs.
3286 {
3288 {
3289 throw new ArgumentNullException("anyOf");
3290 }
3292 {
3293 throw new ArgumentOutOfRangeException("startIndex", SR.ArgumentOutOfRange_Index);
3294 }
3296 {
3297 throw new ArgumentOutOfRangeException("count", SR.ArgumentOutOfRange_Count);
3298 }
3300 {
3302 if (num != -1)
3303 {
3305 }
3306 return num;
3307 }
3308 if (
anyOf.Length > 5)
3309 {
3311 }
3312 return -1;
3313 }
unsafe int IndexOfCharArray(char[] anyOf, int startIndex, int count)
References System.String._firstChar, System.SR.ArgumentOutOfRange_Count, System.SR.ArgumentOutOfRange_Index, System.count, System.String.IndexOfCharArray(), System.String.Length, and System.startIndex.