[System.Core] SLE from CoreFX including interpreter
[mono.git] / mcs / build / common / SR.cs
index 0685edb53bca0127edb3c2ef8f5847a7dfc2498f..0cfe659dc4b8c45be66d63530285a09b9aa93ee5 100644 (file)
@@ -21,6 +21,30 @@ static partial class SR
        {
                return name;
        }
+
+       internal static string Format(string resourceFormat, params object[] args)
+       {
+               if (args != null) {
+                       return string.Format (CultureInfo.InvariantCulture, resourceFormat, args);
+               }
+
+               return resourceFormat;
+       }
+
+       internal static string Format(string resourceFormat, object p1)
+       {
+               return string.Format (CultureInfo.InvariantCulture, resourceFormat, p1);
+       }
+
+       internal static string Format(string resourceFormat, object p1, object p2)
+       {
+               return string.Format (CultureInfo.InvariantCulture, resourceFormat, p1, p2);
+       }
+
+       internal static string Format(string resourceFormat, object p1, object p2, object p3)
+       {
+               return string.Format (CultureInfo.InvariantCulture, resourceFormat, p1, p2, p3);
+       }
 }
 
 namespace System.Runtime.CompilerServices