diff options
author | Miguel de Icaza <miguel@gnome.org> | 2007-04-25 05:36:43 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2007-04-25 05:36:43 +0400 |
commit | 8b8bd6a212be1b07b145d3fd50fc4d18a28b9a25 (patch) | |
tree | b3e2194c1492bb1f71fd0b5db416905ffb735d31 /man/mcs.1 | |
parent | 9b1cd78b5fa2ffd034c040fe861e0dbc97abe3e9 (diff) |
Add linq option
svn path=/trunk/mono/; revision=76232
Diffstat (limited to 'man/mcs.1')
-rw-r--r-- | man/mcs.1 | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/man/mcs.1 b/man/mcs.1 index 9dd7f06d3d9..5cb188f4513 100644 --- a/man/mcs.1 +++ b/man/mcs.1 @@ -136,19 +136,29 @@ The option specifies the version of the language to use. The feature set is different in each C# version. This switch can be used to force the compiler to allow only a subset of the features. The possible values are: -.nf - -Default - Instruct compiler to use the latest version. Equivalent -is to omit the switch. - -ISO-1 - Restrict compiler to use only ISO standardized features. +.RS +.ne 8 +.TP +.I "Default" +Instruct compiler to use the latest version. Equivalent is to omit the +switch (this currently defaults to the C# 2.0 language specification). +.TP +.I "ISO-1" +Restrict compiler to use only ISO standardized features. The usage of features such as generics, static classes, anonymous methods will lead to error. -.Sp +.TP +.I "linq" +This enables the C# 3.0 support. Only a few features of C# 3.0 have +been implemented in the Mono C# compiler, so not everything is +available. +.PP Notice that this flag only controls the language features available to the programmer, it does not control the kind of assemblies produced. Programs compiled with mcs will reference the 1.1 APIs, Programs compiled with gmcs reference the 2.0 APIs. +.ne +.RE .TP .I -lib:PATHLIST Each path specified in the comma-separated list will direct the |