diff options
Diffstat (limited to 'mcs/class/README')
-rw-r--r-- | mcs/class/README | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/mcs/class/README b/mcs/class/README index fa83397fdf4..627b62062c6 100644 --- a/mcs/class/README +++ b/mcs/class/README @@ -37,11 +37,14 @@ the restricted dll found in the same directory. throw new NotImplementedException (); } -* Supporting both .NET 1.1 and .NET 1.0 builds +* Supporting both .NET 1.2, .NET 1.1 and .NET 1.0 builds - Use #ifdef NET_1_1 for code that should only be included for - a .NET 1.1 build, and NET_1_0 for code that should only be included - for a 1.0 build. + The defines NET_1_1 and NET_1_2 are used to include + features. When NET_1_2 is defined, it also implies that the + NET_1_1 is defined. + + To have code which is only available in an old version, use ONLY_1_0, + ONLY_1_1 * Tagging buggy code @@ -280,4 +283,4 @@ class X : Y { } } } -
\ No newline at end of file + |