Esempio n. 1
0
        internal static bool TryFastFindStringOrdinalIgnoreCase(int searchFlags, string source, int startIndex, string value, int count, ref int foundIndex)
        {
            int    searchFlags1 = searchFlags;
            string source1      = source;
            int    sourceCount  = count;
            int    startIndex1  = startIndex;
            string target       = value;
            int    length       = target.Length;
            // ISSUE: explicit reference operation
            // ISSUE: variable of a reference type
            int& foundIndex1 = @foundIndex;

            return(TextInfo.InternalTryFindStringOrdinalIgnoreCase(searchFlags1, source1, sourceCount, startIndex1, target, length, foundIndex1));
        }
 internal static bool TryFastFindStringOrdinalIgnoreCase(int searchFlags, string source, int startIndex, string value, int count, ref int foundIndex)
 {
     return(TextInfo.InternalTryFindStringOrdinalIgnoreCase(searchFlags, source, count, startIndex, value, value.Length, ref foundIndex));
 }