Commit Graph
5 Commits
Author SHA1 Message Date
Egor Bogatov 076632c3e9 Remove CodeDomConfigurationHandler from machine.config (#6070) 2017-11-23 10:31:56 +01:00
Marek Safar 2ac4e6a5c8 [System] CodeDom from CoreFX 2017-02-10 08:54:32 +01:00
Zoltan Varga 0985d4aa4b [bcl] Remove NET_2_0 defines from the class libs. This has been done using: unifdef -t -DNET_2_0 -o <filename> <filename>. 2015-01-13 15:29:38 -05:00
Miguel de Icaza 48292550e8 More NET_2_0 define removal 2011-03-16 21:46:02 -04:00
Marek Habersack f3e716d95e 2007-12-15 Marek Habersack <[email protected]>
* System.dll.sources: added
	System.CodeDom.Compiler/CompilerProviderOption.cs and
	System.CodeDom.Compiler/CompilerProviderOptionsCollection.cs
2007-12-15  Marek Habersack  <[email protected]>

	* CSharpCodeProvider.cs: added support for the 2.0sp1 constructor
	which takes a Dictionary <string, string> parameter with compiler
	provider options. If any options are present, the
	generator/compiler are created using appropriate constructor
	overload.

	* CSharpCodeGenerator.cs: added support for the 2.0sp1 constructor
	which takes a Dictionary <string, string> parameter with compiler
	provider options.

	* CSharpCodeCompiler.cs: added support for the 2.0sp1 constructor
	which takes a Dictionary <string, string> parameter with compiler
	provider options. The "CompilerVersion" option is supported, with
	possible values "2.0" (currently maps to -langversion:Default) and
	"3.5" (currently maps to -langversion:linq).
2007-12-15  Marek Habersack  <[email protected]>

	* Compiler.cs: added support for the default collection of
	<providerOption> child elements and corresponding public
	properties (ProviderOptions and ProviderOptionsDictionary).

	* CompilerInfo.cs: added ProviderOptions dictionary, to hold
	values from the <providerOption> collection of the
	system.codeDom/compilers/compiler/ element.
	CodeDomProviderType throws an exception if the provider type
	cannot be found, as per MSDN.
	CreateProvider uses the new provider constructor which takes
	provider options dictionary as its parameter, if found in the
	provider type.

	* CompilerCollection.cs: compiler defaults are initialized using
	the provider options dictionary, with one option present -
	"CompilerVersion" set to "2.0".
	Two dictionaries to map languages and extensions to compiler
	information objects added.

	* CompilerProviderOption.cs: added - implements the
	<providerOption> element.

	* CompilerProviderOptionsCollection.cs: added - implements
	collection for the 2.0sp1 <providerOption> child element of the
	system.codeDom/compilers/compiler element.


svn path=/trunk/mcs/; revision=91337
2007-12-15 01:46:04 +00:00