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