Author: jluke
Date: 2006-06-03 12:08:51 -0400 (Sat, 03 Jun 2006)
New Revision: 61433
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs
Log:
2006-06-03 John Luke <[EMAIL PROTECTED]>
* MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs:
use Path.GetInvalidPathChars to fix obsolete warning
Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog 2006-06-03
15:56:43 UTC (rev 61432)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog 2006-06-03
16:08:51 UTC (rev 61433)
@@ -1,3 +1,8 @@
+2006-06-03 John Luke <[EMAIL PROTECTED]>
+
+ * MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs:
+ use Path.GetInvalidPathChars to fix obsolete warning
+
2006-06-02 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.Ide.Gui/StatusProgressMonitor.cs: Added an option
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs
2006-06-03 15:56:43 UTC (rev 61432)
+++
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/NewProjectDialog.cs
2006-06-03 16:08:51 UTC (rev 61433)
@@ -209,7 +209,7 @@
StringBuilder sb = new StringBuilder ();
for (int n=0; n<name.Length; n++) {
char c = name [n];
- if (Array.IndexOf (Path.InvalidPathChars, c) !=
-1)
+ if (Array.IndexOf (Path.GetInvalidPathChars(),
c) != -1)
continue;
if (c == Path.DirectorySeparatorChar || c ==
Path.AltDirectorySeparatorChar || c == Path.VolumeSeparatorChar)
continue;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches