diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-04-20 17:00:26 +0300 |
---|---|---|
committer | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2015-04-20 23:52:35 +0300 |
commit | 300a9ddfcfa5a7e93ce9af74a4d4eb536da02d8d (patch) | |
tree | 7130e1e4ebf4a4b8958fb90eb16bed33d50bb1ee /main/src/addins/NUnit | |
parent | 0b21441afeee12b55abbc5e2e3df5b5596a66e26 (diff) |
Audit all usages of Path.GetInvalid*Chars
Use the new refactored FilePath.* variant to ensure correctness.
Diffstat (limited to 'main/src/addins/NUnit')
-rw-r--r-- | main/src/addins/NUnit/Services/AbstractResultsStore.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/addins/NUnit/Services/AbstractResultsStore.cs b/main/src/addins/NUnit/Services/AbstractResultsStore.cs index c90dfe4a31..10500c7ab2 100644 --- a/main/src/addins/NUnit/Services/AbstractResultsStore.cs +++ b/main/src/addins/NUnit/Services/AbstractResultsStore.cs @@ -279,7 +279,7 @@ namespace MonoDevelop.NUnit // Bug 3023 - Running NUnit tests throws ArgumentException: Illegal Characters in path static string EscapeFilename (string str) { - var pc = Path.GetInvalidPathChars (); + var pc = FilePath.GetInvalidPathChars (); char[] specialCharacters = new char[pc.Length + 1]; pc.CopyTo (specialCharacters, 0); specialCharacters [specialCharacters.Length - 1] = '%'; |