diff options
author | Ben Maurer <benm@mono-cvs.ximian.com> | 2005-06-14 22:30:41 +0400 |
---|---|---|
committer | Ben Maurer <benm@mono-cvs.ximian.com> | 2005-06-14 22:30:41 +0400 |
commit | 9371fbf8ba84202a04cf26fd3f24724e4616b22a (patch) | |
tree | b2154b33caa722608756b498d1c2179c118e259c /mcs/class | |
parent | a1d6f3c7a147ef24876bb0888a97979b590a4e06 (diff) |
Remove copy and paste reuse for Locale.cs.
First step in attempting to do an actual framework here.
svn path=/trunk/mcs/; revision=45986
Diffstat (limited to 'mcs/class')
76 files changed, 38 insertions, 1577 deletions
diff --git a/mcs/class/Commons.Xml.Relaxng/Assembly/Locale.cs b/mcs/class/Commons.Xml.Relaxng/Assembly/Locale.cs deleted file mode 100755 index 92fbf2abe01..00000000000 --- a/mcs/class/Commons.Xml.Relaxng/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.dll.sources b/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.dll.sources index c108ed5767b..1ccb8391925 100644 --- a/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.dll.sources +++ b/mcs/class/Commons.Xml.Relaxng/Commons.Xml.Relaxng.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Commons.Xml/XmlDefaultReader.cs Commons.Xml.Relaxng/Misc.cs Commons.Xml.Relaxng/RelaxngDatatype.cs diff --git a/mcs/class/Cscompmgd/Assembly/Locale.cs b/mcs/class/Cscompmgd/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/Cscompmgd/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Cscompmgd/Cscompmgd.dll.sources b/mcs/class/Cscompmgd/Cscompmgd.dll.sources index e028a5bc163..f3aea1962db 100644 --- a/mcs/class/Cscompmgd/Cscompmgd.dll.sources +++ b/mcs/class/Cscompmgd/Cscompmgd.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Microsoft.CSharp/Compiler.cs Microsoft.CSharp/CompilerError.cs Microsoft.CSharp/ErrorLevel.cs diff --git a/mcs/class/Custommarshalers/Assembly/Locale.cs b/mcs/class/Custommarshalers/Assembly/Locale.cs deleted file mode 100755 index 92fbf2abe01..00000000000 --- a/mcs/class/Custommarshalers/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Custommarshalers/System.Runtime.InteropServices.CustomMarshalers.dll.sources b/mcs/class/Custommarshalers/System.Runtime.InteropServices.CustomMarshalers.dll.sources index 4beeb8772dd..9fa60715dca 100644 --- a/mcs/class/Custommarshalers/System.Runtime.InteropServices.CustomMarshalers.dll.sources +++ b/mcs/class/Custommarshalers/System.Runtime.InteropServices.CustomMarshalers.dll.sources @@ -1,5 +1,5 @@ ./Assembly/AssemblyInfo.cs -./Assembly/Locale.cs +./../../build/common/Locale.cs ./Assembly/TODOAttribute.cs ./System.Runtime.InteropServices.CustomMarshalers/EnumerableToDispatchMarshaler.cs ./System.Runtime.InteropServices.CustomMarshalers/ExpandoToDispatchExMarshaler.cs diff --git a/mcs/class/Microsoft.JScript/Assembly/Locale.cs b/mcs/class/Microsoft.JScript/Assembly/Locale.cs deleted file mode 100755 index 92fbf2abe01..00000000000 --- a/mcs/class/Microsoft.JScript/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Microsoft.JScript/Microsoft.JScript.dll.sources b/mcs/class/Microsoft.JScript/Microsoft.JScript.dll.sources index 62654f3d87a..14d9bd6203a 100644 --- a/mcs/class/Microsoft.JScript/Microsoft.JScript.dll.sources +++ b/mcs/class/Microsoft.JScript/Microsoft.JScript.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Microsoft.JScript/ast.cs Microsoft.JScript/ASTList.cs Microsoft.JScript/ActivationObject.cs diff --git a/mcs/class/Microsoft.VisualBasic/Assembly/Locale.cs b/mcs/class/Microsoft.VisualBasic/Assembly/Locale.cs deleted file mode 100644 index 77e2fb07fc6..00000000000 --- a/mcs/class/Microsoft.VisualBasic/Assembly/Locale.cs +++ /dev/null @@ -1,47 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Copyright (C) 2004 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 -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic.dll.sources b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic.dll.sources index ab4c7e2402c..78edaa65e7a 100644 --- a/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic.dll.sources +++ b/mcs/class/Microsoft.VisualBasic/Microsoft.VisualBasic.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Microsoft.VisualBasic/AppWinStyle.cs Microsoft.VisualBasic/CallType.cs Microsoft.VisualBasic/Collection.cs diff --git a/mcs/class/Microsoft.VisualC/Assembly/Locale.cs b/mcs/class/Microsoft.VisualC/Assembly/Locale.cs deleted file mode 100755 index 92fbf2abe01..00000000000 --- a/mcs/class/Microsoft.VisualC/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Microsoft.VisualC/Microsoft.VisualC.dll.sources b/mcs/class/Microsoft.VisualC/Microsoft.VisualC.dll.sources index fee00644674..d59b42aabb5 100644 --- a/mcs/class/Microsoft.VisualC/Microsoft.VisualC.dll.sources +++ b/mcs/class/Microsoft.VisualC/Microsoft.VisualC.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Microsoft.VisualC/DebugInfoInPDBAttribute.cs Microsoft.VisualC/DecoratedNameAttribute.cs Microsoft.VisualC/IsCXXReferenceModifier.cs diff --git a/mcs/class/Microsoft.Vsa/Assembly/Locale.cs b/mcs/class/Microsoft.Vsa/Assembly/Locale.cs deleted file mode 100755 index 92fbf2abe01..00000000000 --- a/mcs/class/Microsoft.Vsa/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Microsoft.Vsa/Microsoft.Vsa.dll.sources b/mcs/class/Microsoft.Vsa/Microsoft.Vsa.dll.sources index 8bbb2c7cff9..8f7459c4747 100644 --- a/mcs/class/Microsoft.Vsa/Microsoft.Vsa.dll.sources +++ b/mcs/class/Microsoft.Vsa/Microsoft.Vsa.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Microsoft.Vsa/IVsaCodeItem.cs Microsoft.Vsa/IVsaEngine.cs Microsoft.Vsa/IVsaError.cs diff --git a/mcs/class/Microsoft.Web.Services/Assembly/Locale.cs b/mcs/class/Microsoft.Web.Services/Assembly/Locale.cs deleted file mode 100755 index a456449296f..00000000000 --- a/mcs/class/Microsoft.Web.Services/Assembly/Locale.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Microsoft.Web.Services/Microsoft.Web.Services.dll.2.sources b/mcs/class/Microsoft.Web.Services/Microsoft.Web.Services.dll.2.sources index 14eb73efddf..ce77531337a 100755 --- a/mcs/class/Microsoft.Web.Services/Microsoft.Web.Services.dll.2.sources +++ b/mcs/class/Microsoft.Web.Services/Microsoft.Web.Services.dll.2.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Mono.Xml/XmlCanonicalizer.cs Microsoft.Web.Services/AsyncResult.cs Microsoft.Web.Services/ChainStream.cs diff --git a/mcs/class/Microsoft.Web.Services/Microsoft.Web.Services.dll.sources b/mcs/class/Microsoft.Web.Services/Microsoft.Web.Services.dll.sources index fd28bd22e5b..86803d9276d 100755 --- a/mcs/class/Microsoft.Web.Services/Microsoft.Web.Services.dll.sources +++ b/mcs/class/Microsoft.Web.Services/Microsoft.Web.Services.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Mono.Xml/XmlCanonicalizer.cs Microsoft.Web.Services/ChainStream.cs Microsoft.Web.Services/UriList.cs diff --git a/mcs/class/Mono.Cairo/Assembly/Locale.cs b/mcs/class/Mono.Cairo/Assembly/Locale.cs deleted file mode 100755 index 77e2fb07fc6..00000000000 --- a/mcs/class/Mono.Cairo/Assembly/Locale.cs +++ /dev/null @@ -1,47 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Copyright (C) 2004 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 -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Mono.Cairo/Mono.Cairo.dll.sources b/mcs/class/Mono.Cairo/Mono.Cairo.dll.sources index 63b7000d412..60adba96bb2 100644 --- a/mcs/class/Mono.Cairo/Mono.Cairo.dll.sources +++ b/mcs/class/Mono.Cairo/Mono.Cairo.dll.sources @@ -1,5 +1,5 @@ ./Assembly/AssemblyInfo.cs -./Assembly/Locale.cs +./../../build/common/Locale.cs ./Mono.Cairo/Cairo.cs ./Mono.Cairo/Matrix.cs ./Mono.Cairo/Graphics.cs diff --git a/mcs/class/Mono.CompilerServices.SymbolWriter/Assembly/Locale.cs b/mcs/class/Mono.CompilerServices.SymbolWriter/Assembly/Locale.cs deleted file mode 100755 index 92fbf2abe01..00000000000 --- a/mcs/class/Mono.CompilerServices.SymbolWriter/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Mono.CompilerServices.SymbolWriter/Mono.CompilerServices.SymbolWriter.dll.sources b/mcs/class/Mono.CompilerServices.SymbolWriter/Mono.CompilerServices.SymbolWriter.dll.sources index 283744118bb..0ea2a216396 100644 --- a/mcs/class/Mono.CompilerServices.SymbolWriter/Mono.CompilerServices.SymbolWriter.dll.sources +++ b/mcs/class/Mono.CompilerServices.SymbolWriter/Mono.CompilerServices.SymbolWriter.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs MonoSymbolWriter.cs MonoSymbolTable.cs MonoSymbolFile.cs diff --git a/mcs/class/Mono.Data.SqliteClient/Assembly/Locale.cs b/mcs/class/Mono.Data.SqliteClient/Assembly/Locale.cs deleted file mode 100755 index a456449296f..00000000000 --- a/mcs/class/Mono.Data.SqliteClient/Assembly/Locale.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient.dll.sources b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient.dll.sources index a366e08098e..99629c2a80f 100644 --- a/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient.dll.sources +++ b/mcs/class/Mono.Data.SqliteClient/Mono.Data.SqliteClient.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Mono.Data.SqliteClient/Sqlite.cs Mono.Data.SqliteClient/SqliteCommand.cs Mono.Data.SqliteClient/SqliteConnection.cs diff --git a/mcs/class/Mono.Data.SybaseClient/Assembly/Locale.cs b/mcs/class/Mono.Data.SybaseClient/Assembly/Locale.cs deleted file mode 100644 index a456449296f..00000000000 --- a/mcs/class/Mono.Data.SybaseClient/Assembly/Locale.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Mono.Data.SybaseClient/Mono.Data.SybaseClient.dll.sources b/mcs/class/Mono.Data.SybaseClient/Mono.Data.SybaseClient.dll.sources index 4af520e76ef..f5443fffeaa 100644 --- a/mcs/class/Mono.Data.SybaseClient/Mono.Data.SybaseClient.dll.sources +++ b/mcs/class/Mono.Data.SybaseClient/Mono.Data.SybaseClient.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Mono.Data.SybaseClient/SybaseCommand.cs Mono.Data.SybaseClient/SybaseCommandBuilder.cs Mono.Data.SybaseClient/SybaseConnection.cs diff --git a/mcs/class/Mono.Data.Tds/Assembly/Locale.cs b/mcs/class/Mono.Data.Tds/Assembly/Locale.cs deleted file mode 100755 index a456449296f..00000000000 --- a/mcs/class/Mono.Data.Tds/Assembly/Locale.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Mono.Data.Tds/Mono.Data.Tds.dll.sources b/mcs/class/Mono.Data.Tds/Mono.Data.Tds.dll.sources index c286e68bccb..af4188b413e 100644 --- a/mcs/class/Mono.Data.Tds/Mono.Data.Tds.dll.sources +++ b/mcs/class/Mono.Data.Tds/Mono.Data.Tds.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Mono.Data.Tds/TdsMetaParameter.cs Mono.Data.Tds/TdsMetaParameterCollection.cs Mono.Data.Tds/TdsParameterDirection.cs diff --git a/mcs/class/Mono.Data.TdsClient/Assembly/Locale.cs b/mcs/class/Mono.Data.TdsClient/Assembly/Locale.cs deleted file mode 100755 index a456449296f..00000000000 --- a/mcs/class/Mono.Data.TdsClient/Assembly/Locale.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Mono.Data.TdsClient/Mono.Data.TdsClient.dll.sources b/mcs/class/Mono.Data.TdsClient/Mono.Data.TdsClient.dll.sources index 7533719a9d5..f5bec9bef02 100644 --- a/mcs/class/Mono.Data.TdsClient/Mono.Data.TdsClient.dll.sources +++ b/mcs/class/Mono.Data.TdsClient/Mono.Data.TdsClient.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Mono.Data.TdsClient/TdsCommand.cs Mono.Data.TdsClient/TdsConnection.cs Mono.Data.TdsClient/TdsDataAdapter.cs diff --git a/mcs/class/Mono.Posix/Assembly/Locale.cs b/mcs/class/Mono.Posix/Assembly/Locale.cs deleted file mode 100755 index 92fbf2abe01..00000000000 --- a/mcs/class/Mono.Posix/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Mono.Posix/Mono.Posix.dll.sources b/mcs/class/Mono.Posix/Mono.Posix.dll.sources index dad6be996d3..860093804b6 100644 --- a/mcs/class/Mono.Posix/Mono.Posix.dll.sources +++ b/mcs/class/Mono.Posix/Mono.Posix.dll.sources @@ -1,5 +1,5 @@ ./Assembly/AssemblyInfo.cs -./Assembly/Locale.cs +./../../build/common/Locale.cs ./Mono.Unix/Catalog.cs ./Mono.Unix/CdeclFunction.cs ./Mono.Unix/IncludeAttribute.cs diff --git a/mcs/class/Mono.Security.Win32/Assembly/Locale.cs b/mcs/class/Mono.Security.Win32/Assembly/Locale.cs deleted file mode 100755 index a456449296f..00000000000 --- a/mcs/class/Mono.Security.Win32/Assembly/Locale.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Mono.Security.Win32/Mono.Security.Win32.dll.sources b/mcs/class/Mono.Security.Win32/Mono.Security.Win32.dll.sources index edd399b43bf..31c6ce6c476 100644 --- a/mcs/class/Mono.Security.Win32/Mono.Security.Win32.dll.sources +++ b/mcs/class/Mono.Security.Win32/Mono.Security.Win32.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Mono.Security.Cryptography/CapiContext.cs Mono.Security.Cryptography/CapiHash.cs Mono.Security.Cryptography/CapiRandomNumberGenerator.cs diff --git a/mcs/class/Mono.Security/Assembly/Locale.cs b/mcs/class/Mono.Security/Assembly/Locale.cs deleted file mode 100755 index 92fbf2abe01..00000000000 --- a/mcs/class/Mono.Security/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/Mono.Security/Mono.Security.dll.sources b/mcs/class/Mono.Security/Mono.Security.dll.sources index e657006d91c..54877ac23ed 100644 --- a/mcs/class/Mono.Security/Mono.Security.dll.sources +++ b/mcs/class/Mono.Security/Mono.Security.dll.sources @@ -1,5 +1,5 @@ ./Assembly/AssemblyInfo.cs -./Assembly/Locale.cs +./../../build/common/Locale.cs ./Mono.Math/BigInteger.cs ./Mono.Math.Prime/ConfidenceFactor.cs ./Mono.Math.Prime/PrimalityTests.cs diff --git a/mcs/class/PEAPI/Assembly/Locale.cs b/mcs/class/PEAPI/Assembly/Locale.cs deleted file mode 100644 index 27e06881ff8..00000000000 --- a/mcs/class/PEAPI/Assembly/Locale.cs +++ /dev/null @@ -1,25 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} - diff --git a/mcs/class/PEAPI/PEAPI.dll.sources b/mcs/class/PEAPI/PEAPI.dll.sources index 054ddf0a002..e5a830536a0 100644 --- a/mcs/class/PEAPI/PEAPI.dll.sources +++ b/mcs/class/PEAPI/PEAPI.dll.sources @@ -1,3 +1,3 @@ ./Assembly/AssemblyInfo.cs -./Assembly/Locale.cs +./../../build/common/Locale.cs PEAPI.cs diff --git a/mcs/class/System.Configuration.Install/Assembly/Locale.cs b/mcs/class/System.Configuration.Install/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Configuration.Install/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Configuration.Install/System.Configuration.Install.dll.sources b/mcs/class/System.Configuration.Install/System.Configuration.Install.dll.sources index 892a1806dcc..3d902eda693 100644 --- a/mcs/class/System.Configuration.Install/System.Configuration.Install.dll.sources +++ b/mcs/class/System.Configuration.Install/System.Configuration.Install.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Assembly/Consts.cs System.Configuration.Install/AssemblyInstaller.cs System.Configuration.Install/IManagedInstaller.cs diff --git a/mcs/class/System.Configuration/Assembly/Locale.cs b/mcs/class/System.Configuration/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Configuration/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Configuration/System.Configuration.dll.sources b/mcs/class/System.Configuration/System.Configuration.dll.sources index 2b59348e951..222606bfd43 100644 --- a/mcs/class/System.Configuration/System.Configuration.dll.sources +++ b/mcs/class/System.Configuration/System.Configuration.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Configuration/AppSettingsSection.cs System.Configuration/ConfigHelper.cs System.Configuration/ConfigInfo.cs diff --git a/mcs/class/System.Data.OracleClient/Assembly/Locale.cs b/mcs/class/System.Data.OracleClient/Assembly/Locale.cs deleted file mode 100644 index a456449296f..00000000000 --- a/mcs/class/System.Data.OracleClient/Assembly/Locale.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Data.OracleClient/System.Data.OracleClient.dll.sources b/mcs/class/System.Data.OracleClient/System.Data.OracleClient.dll.sources index 1a69fa04245..f67f4aa5469 100755 --- a/mcs/class/System.Data.OracleClient/System.Data.OracleClient.dll.sources +++ b/mcs/class/System.Data.OracleClient/System.Data.OracleClient.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Assembly/Consts.cs System.Data.OracleClient.Oci/OciAttributeType.cs System.Data.OracleClient.Oci/OciBindHandle.cs diff --git a/mcs/class/System.Data/Assembly/Locale.cs b/mcs/class/System.Data/Assembly/Locale.cs deleted file mode 100644 index 77e2fb07fc6..00000000000 --- a/mcs/class/System.Data/Assembly/Locale.cs +++ /dev/null @@ -1,47 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Copyright (C) 2004 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 -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Data/System.Data.dll.sources b/mcs/class/System.Data/System.Data.dll.sources index ce29833781e..f121370a979 100755 --- a/mcs/class/System.Data/System.Data.dll.sources +++ b/mcs/class/System.Data/System.Data.dll.sources @@ -1,6 +1,6 @@ Assembly/AssemblyInfo.cs Assembly/Consts.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Data/AcceptRejectRule.cs System.Data/AdapterMappingException.cs System.Data/ColumnTypeConverter.cs diff --git a/mcs/class/System.Design/Assembly/Locale.cs b/mcs/class/System.Design/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Design/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Design/System.Design.dll.sources b/mcs/class/System.Design/System.Design.dll.sources index f4ca0cf3091..86e3425d6f3 100755 --- a/mcs/class/System.Design/System.Design.dll.sources +++ b/mcs/class/System.Design/System.Design.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Design/TODOAttribute.cs System.ComponentModel.Design/ArrayEditor.cs System.ComponentModel.Design/BinaryEditor.cs diff --git a/mcs/class/System.DirectoryServices/Assembly/Locale.cs b/mcs/class/System.DirectoryServices/Assembly/Locale.cs deleted file mode 100644 index a456449296f..00000000000 --- a/mcs/class/System.DirectoryServices/Assembly/Locale.cs +++ /dev/null @@ -1,24 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.DirectoryServices/System.DirectoryServices.dll.sources b/mcs/class/System.DirectoryServices/System.DirectoryServices.dll.sources index 7e51b30e215..501f9e0c960 100755 --- a/mcs/class/System.DirectoryServices/System.DirectoryServices.dll.sources +++ b/mcs/class/System.DirectoryServices/System.DirectoryServices.dll.sources @@ -1,6 +1,6 @@ Assembly/AssemblyInfo.cs Assembly/Consts.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.DirectoryServices/AuthenticationTypes.cs System.DirectoryServices/DirectoryEntries.cs System.DirectoryServices/DirectoryEntry.cs diff --git a/mcs/class/System.Drawing.Design/Assembly/Locale.cs b/mcs/class/System.Drawing.Design/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Drawing.Design/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Drawing.Design/System.Drawing.Design.dll.sources b/mcs/class/System.Drawing.Design/System.Drawing.Design.dll.sources index 6862ba700ad..a105ab70027 100644 --- a/mcs/class/System.Drawing.Design/System.Drawing.Design.dll.sources +++ b/mcs/class/System.Drawing.Design/System.Drawing.Design.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Assembly/TODOAttribute.cs System.Drawing.Design/BitmapEditor.cs System.Drawing.Design/ColorEditor.cs diff --git a/mcs/class/System.Drawing/Assembly/Locale.cs b/mcs/class/System.Drawing/Assembly/Locale.cs deleted file mode 100644 index 77e2fb07fc6..00000000000 --- a/mcs/class/System.Drawing/Assembly/Locale.cs +++ /dev/null @@ -1,47 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Copyright (C) 2004 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 -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Drawing/System.Drawing.dll.sources b/mcs/class/System.Drawing/System.Drawing.dll.sources index 49669279ae8..52f9c4b87c0 100755 --- a/mcs/class/System.Drawing/System.Drawing.dll.sources +++ b/mcs/class/System.Drawing/System.Drawing.dll.sources @@ -1,6 +1,6 @@ Assembly/AssemblyInfo.cs Assembly/Consts.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Drawing/Bitmap.cs System.Drawing/Brush.cs System.Drawing/Brushes.cs diff --git a/mcs/class/System.Management/Assembly/Locale.cs b/mcs/class/System.Management/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Management/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Management/System.Management.dll.sources b/mcs/class/System.Management/System.Management.dll.sources index 34cc5ece3a0..305e9daddf7 100644 --- a/mcs/class/System.Management/System.Management.dll.sources +++ b/mcs/class/System.Management/System.Management.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Management/AuthenticationLevel.cs System.Management/CimType.cs System.Management/ComparisonSettings.cs diff --git a/mcs/class/System.Messaging/Assembly/Locale.cs b/mcs/class/System.Messaging/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Messaging/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Messaging/System.Messaging.dll.sources b/mcs/class/System.Messaging/System.Messaging.dll.sources index 3cc641a2999..8fb57cbd06b 100644 --- a/mcs/class/System.Messaging/System.Messaging.dll.sources +++ b/mcs/class/System.Messaging/System.Messaging.dll.sources @@ -1,6 +1,6 @@ Assembly/AssemblyInfo.cs Assembly/Consts.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Messaging/AccessControlEntry.cs System.Messaging/AccessControlEntryType.cs System.Messaging/AccessControlList.cs diff --git a/mcs/class/System.Runtime.Remoting/Assembly/Locale.cs b/mcs/class/System.Runtime.Remoting/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Runtime.Remoting/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.dll.sources b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.dll.sources index 4fbf9ad8ee3..26415481872 100644 --- a/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.dll.sources +++ b/mcs/class/System.Runtime.Remoting/System.Runtime.Remoting.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Runtime.Remoting/TODOAttribute.cs System.Runtime.Remoting.Channels/BinaryClientFormatterSink.cs System.Runtime.Remoting.Channels/BinaryClientFormatterSinkProvider.cs diff --git a/mcs/class/System.Runtime.Serialization.Formatters.Soap/Assembly/Locale.cs b/mcs/class/System.Runtime.Serialization.Formatters.Soap/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Runtime.Serialization.Formatters.Soap/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Runtime.Serialization.Formatters.Soap/System.Runtime.Serialization.Formatters.Soap.dll.sources b/mcs/class/System.Runtime.Serialization.Formatters.Soap/System.Runtime.Serialization.Formatters.Soap.dll.sources index 7fd87f5c689..505dc61370d 100644 --- a/mcs/class/System.Runtime.Serialization.Formatters.Soap/System.Runtime.Serialization.Formatters.Soap.dll.sources +++ b/mcs/class/System.Runtime.Serialization.Formatters.Soap/System.Runtime.Serialization.Formatters.Soap.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Runtime.Serialization.Formatters.Soap/SoapWriter.cs System.Runtime.Serialization.Formatters.Soap/SoapReader.cs System.Runtime.Serialization.Formatters.Soap/SoapTypeMapper.cs diff --git a/mcs/class/System.Security/Assembly/Locale.cs b/mcs/class/System.Security/Assembly/Locale.cs deleted file mode 100755 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Security/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Security/System.Security.dll.sources b/mcs/class/System.Security/System.Security.dll.sources index 0a3e4e942c5..eb9867f57b4 100644 --- a/mcs/class/System.Security/System.Security.dll.sources +++ b/mcs/class/System.Security/System.Security.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Mono.Xml/XmlCanonicalizer.cs System.Security.Cryptography/AsnEncodedData.cs System.Security.Cryptography/AsnEncodedDataCollection.cs diff --git a/mcs/class/System.ServiceProcess/Assembly/Locale.cs b/mcs/class/System.ServiceProcess/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.ServiceProcess/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.ServiceProcess/System.ServiceProcess.dll.sources b/mcs/class/System.ServiceProcess/System.ServiceProcess.dll.sources index 9a087de9e94..6b3a1eabbf5 100644 --- a/mcs/class/System.ServiceProcess/System.ServiceProcess.dll.sources +++ b/mcs/class/System.ServiceProcess/System.ServiceProcess.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.ServiceProcess/TODOAttribute.cs System.ServiceProcess/PowerBroadcastStatus.cs System.ServiceProcess/ServiceAccount.cs diff --git a/mcs/class/System.Web.Mobile/Assembly/Locale.cs b/mcs/class/System.Web.Mobile/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Web.Mobile/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Web.Services/Assembly/Locale.cs b/mcs/class/System.Web.Services/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Web.Services/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Web.Services/System.Web.Services.dll.sources b/mcs/class/System.Web.Services/System.Web.Services.dll.sources index 8f5e13d49d4..83f8979ae63 100644 --- a/mcs/class/System.Web.Services/System.Web.Services.dll.sources +++ b/mcs/class/System.Web.Services/System.Web.Services.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Web.Services/TODOAttribute.cs System.Web.Services/WebMethodAttribute.cs System.Web.Services/WebService.cs diff --git a/mcs/class/System.Web/Assembly/Locale.cs b/mcs/class/System.Web/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.Web/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.Web/System.Web.dll.sources b/mcs/class/System.Web/System.Web.dll.sources index e7ef22afeb4..09494f58d71 100755 --- a/mcs/class/System.Web/System.Web.dll.sources +++ b/mcs/class/System.Web/System.Web.dll.sources @@ -1,6 +1,6 @@ Assembly/AssemblyInfo.cs Assembly/Consts.cs -Assembly/Locale.cs +../../build/common/Locale.cs System.Web.Administration/WebAdminUserControl.cs System.Web.Caching/Cache.cs System.Web.Caching/CacheDefinitions.cs diff --git a/mcs/class/System.XML/Assembly/Locale.cs b/mcs/class/System.XML/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System.XML/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System.XML/System.Xml.dll.sources b/mcs/class/System.XML/System.Xml.dll.sources index 4ca10ddd35c..a25d9136c1e 100755 --- a/mcs/class/System.XML/System.Xml.dll.sources +++ b/mcs/class/System.XML/System.Xml.dll.sources @@ -1,5 +1,5 @@ Assembly/AssemblyInfo.cs -Assembly/Locale.cs +../../build/common/Locale.cs Mono.Xml.Schema/XmlSchemaValidatingReader.cs Mono.Xml.Schema/XsdIdentityPath.cs Mono.Xml.Schema/XsdIdentityState.cs diff --git a/mcs/class/System/Assembly/Locale.cs b/mcs/class/System/Assembly/Locale.cs deleted file mode 100644 index 92fbf2abe01..00000000000 --- a/mcs/class/System/Assembly/Locale.cs +++ /dev/null @@ -1,45 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } -} diff --git a/mcs/class/System/System.dll.sources b/mcs/class/System/System.dll.sources index 3a711602ca0..0e7f76d06dc 100755 --- a/mcs/class/System/System.dll.sources +++ b/mcs/class/System/System.dll.sources @@ -1,6 +1,6 @@ Assembly/AssemblyInfo.cs Assembly/Consts.cs -Assembly/Locale.cs +../../build/common/Locale.cs Microsoft.CSharp/CSharpCodeCompiler.cs Microsoft.CSharp/CSharpCodeGenerator.cs Microsoft.CSharp/CSharpCodeProvider.cs diff --git a/mcs/class/corlib/Assembly/Locale.cs b/mcs/class/corlib/Assembly/Locale.cs deleted file mode 100644 index 8ba0a8e948f..00000000000 --- a/mcs/class/corlib/Assembly/Locale.cs +++ /dev/null @@ -1,54 +0,0 @@ -// -// Locale.cs -// -// Author: -// Miguel de Icaza (miguel@ximian.com) -// Andreas Nahr (ClassDevelopment@A-SoftTech.com) -// -// (C) 2001 - 2003 Ximian, Inc (http://www.ximian.com) -// - -// -// Copyright (C) 2004 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 -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -using System; - -internal sealed class Locale { - - private Locale () - { - } - - /// <summary> - /// Returns the translated message for the current locale - /// </summary> - public static string GetText (string msg) - { - return msg; - } - - public static string GetText (string fmt, params object [] args) - { - return String.Format (fmt, args); - } -} diff --git a/mcs/class/corlib/corlib.dll.sources b/mcs/class/corlib/corlib.dll.sources index bee296b44f9..f493bd9549b 100644 --- a/mcs/class/corlib/corlib.dll.sources +++ b/mcs/class/corlib/corlib.dll.sources @@ -1,6 +1,6 @@ Assembly/AssemblyInfo.cs Assembly/Consts.cs -Assembly/Locale.cs +../../build/common/Locale.cs Microsoft.Win32/IRegistryApi.cs Microsoft.Win32/RegistryKey.cs Microsoft.Win32/Registry.cs |