Example #1
0
        // Token: 0x06001953 RID: 6483 RVA: 0x0005437C File Offset: 0x0005257C
        internal static bool HasWildCardCharacters(string path)
        {
            int startIndex = AppContextSwitches.UseLegacyPathHandling ? 0 : (PathInternal.IsDevice(path) ? "\\\\?\\".Length : 0);

            return(PathInternal.AnyPathHasWildCardCharacters(path, startIndex));
        }
Example #2
0
 // Token: 0x06001952 RID: 6482 RVA: 0x0005435E File Offset: 0x0005255E
 internal static bool AnyPathHasIllegalCharacters(string path, bool checkAdditional = false)
 {
     return(path.IndexOfAny(PathInternal.InvalidPathChars) >= 0 || (checkAdditional && PathInternal.AnyPathHasWildCardCharacters(path, 0)));
 }