10 references to GetInvalidPathChars
System (2)
compmod\system\codedom\compiler\CodeValidator.cs (1)
818if (e.FileName.IndexOfAny(Path.GetInvalidPathChars()) != -1)
services\io\system\io\FileSystemWatcher.cs (1)
306if (value.IndexOfAny(FileSystemWatcher.wildcards) != -1 || value.IndexOfAny(System.IO.Path.GetInvalidPathChars()) != -1) {
System.Activities (1)
System\Activities\Debugger\State.cs (1)
221if (ReplaceInvalidCharactersWithUnderscore(ref newFileName, Path.GetInvalidPathChars()))
System.Data (1)
fx\src\data\System\Data\SQLTypes\SQLFileStream.cs (1)
424static private readonly char[] InvalidPathChars = Path.GetInvalidPathChars();
System.Web (1)
Util\FileUtil.cs (1)
224private static readonly char[] s_invalidPathChars = Path.GetInvalidPathChars();
System.Workflow.Activities (2)
Common\CompModHelpers.cs (2)
92int length = Path.GetInvalidPathChars().GetLength(0) + 5; 94Path.GetInvalidPathChars().CopyTo(invalidChars, 0);
System.Workflow.ComponentModel (3)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
437if (path.IndexOfAny(Path.GetInvalidPathChars()) >= 0 ||
Shared\CompModHelpers.cs (2)
90int length = Path.GetInvalidPathChars().GetLength(0) + 5; 92Path.GetInvalidPathChars().CopyTo(invalidChars, 0);