Handle fault messages in duplex callback channel.
[mono.git] / mcs / class / Microsoft.Build.Engine / Microsoft.Build.BuildEngine / Utilities.cs
index ca3fb4a6dd535c06818204f5b9a899a3032f26cc..235dd2eda238838aa2fc84a6c64b2fdfe7570e7c 100644 (file)
@@ -3,8 +3,11 @@
 //
 // Author:
 //   Marek Sieradzki (marek.sieradzki@gmail.com)
+//   Lluis Sanchez Gual <lluis@novell.com>
+//   Michael Hutchinson <mhutchinson@novell.com>
 //
 // (C) 2005 Marek Sieradzki
+// Copyright (c) 2008 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 
 #if NET_2_0
 
-namespace Microsoft.Build.BuildEngine {
-       public class Utilities : ILangSecurityLevelChecker, ICultureStringUtilities {
-               public Utilities ()
-               {
-               }
+using Mono.XBuild.Utilities;
 
-               public bool CheckPath (string path, int zone)
-               {
-                       return true;
-               }
+namespace Microsoft.Build.BuildEngine {
+       public static class Utilities {
 
-               public string[] GetSupportedCultures ()
+               public static string Escape (string unescapedExpression)
                {
-                       return null;
+                       return MSBuildUtils.Escape (unescapedExpression);
                }
 
-               public bool ValidateCulture (string culture)
+               internal static string FromMSBuildPath (string relPath)
                {
-                       return true;
+                       return MSBuildUtils.FromMSBuildPath (relPath);
                }
        }
+
 }
 
-#endif
\ No newline at end of file
+#endif