Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@gnome.org>2001-11-21 21:12:11 +0300
committerMiguel de Icaza <miguel@gnome.org>2001-11-21 21:12:11 +0300
commitf7b109a94fbd8e5bc3557adb8a53409214014a5f (patch)
treef170c63c7df954a7906ae16fe4025414a40e1ba1 /mcs/class/README
parentcb8b0abfbdfe00128772f7f2ea7b0d895ffe81c7 (diff)
2001-11-21 Miguel de Icaza <miguel@ximian.com>
* ApplicationException.cs: internationalize by adding calls to Locale.GetText (). And throw NotImplementedExceptions on calls that we have to implement. * Version.cs: Ditto. * ValueType.cs: ditto. * UnauthorizedAccessException.cs: ditto. * UInt32.cs: ditto. * UInt64.cs: ditto. * UInt16.cs: ditto. * TypeLoadException.cs: ditto * TypeInitializationException.cs: ditto. * Type.cs: ditto. * TimeSpan.cs: ditto. * SystemException.cs: ditto. * String.cs: ditto. * StackOverflowException.cs: ditto.x * Single.cs: ditto. * SByte.cs: ditto. * RuntimeTypeHandle.cs: ditto. * RuntimeMethodHandle.cs: ditto. * RuntimeFieldHandle.cs: ditto. * Random.cs: ditto. * OutOfMemoryException.cs: ditto. * OperatingSystem.cs: ditto. * ObjectDisposedException.cs: ditto. * NullReferenceException.cs: ditto. * NotImplementedException.cs: ditto. * NotFiniteNumberException.cs: ditto.o * MulticastNotSupportedException.cs: ditto. * MissingMethodException.cs: ditto. * MemberAccessException.cs: ditto. * Math.cs: ditto. * InvalidCastException.cs: ditto. * IntegerFormatter.cs: ditto. * Int32.cs: ditto. * Int16.cs: ditto. * IndexOutOfRangeException.cs: ditto. * Environment.cs: ditto * Enum.cs: ditto. * DuplicateWaitObjectException.cs: ditto. * DivideByZeroException.cs: ditto. * Delegate.cs: ditto * DecimalFormatter.cs: ditto. * Decimal.cs: ditto. * DateTime.cs: ditto. * Convert.cs: ditto. * Char.cs: ditto. * Byte.cs: ditto. * Boolean.cs: ditto. * ArrayTypeMismatchException.cs: ditto. * ArithmeticException.cs: ditto. * ArgumentOutOfRangeException.cs: ditto. * ArgumentNullException.cs: ditto. * Enum.cs: Make it derive from ValueType, add CompareTo method. * Attribute.cs: Reformat. svn path=/trunk/mcs/; revision=1406
Diffstat (limited to 'mcs/class/README')
-rw-r--r--mcs/class/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/class/README b/mcs/class/README
index 45ddae8eb78..853c618cb41 100644
--- a/mcs/class/README
+++ b/mcs/class/README
@@ -54,3 +54,17 @@ the restricted dll found in the same directory.
this consistent). If you are modifying someone else's code, try
to keep the coding style similar.
+ Please use code that looks like this:
+
+ bool Method (int argument_1, int argument_2)
+ {
+ if (argument_1 == argument_2)
+ throw new Exception (Locale.GetText ("They are equal!");
+
+ if (argument_1 < argument_2) {
+ if (argument_1 * 3 > 4)
+ return true;
+ else
+ return false;
+ }
+ }