Commit Graph
10 Commits
Author SHA1 Message Date
Marek Safar 482e63b5bd Few corcompare fixes 2011-09-05 19:02:32 +01:00
Miguel de Icaza 48292550e8 More NET_2_0 define removal 2011-03-16 21:46:02 -04:00
Jb Evain c1407c9775 2008-07-22 Jb Evain <[email protected]>
* CSharpCodeProvider.cs: fix the constructor to take an IDictionary
	instead of a plain Dictionary for provider options.
	* CSharpCodeGenerator.cs, CSharpCodeCompiler.cs: update accordingly.
	Fixes #411105.



svn path=/trunk/mcs/; revision=108446
2008-07-22 06:02:13 +00: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
Sebastien Pouliot 1b3f86671b 2005-10-29 Sebastien Pouliot <[email protected]>
* CSharpCodeProvider.cs: GenerateCodeFromMember method is an override 
	in 2.0 final.


svn path=/trunk/mcs/; revision=52378
2005-10-29 13:59:03 +00:00
Sebastien Pouliot 87992db868 2005-10-17 Sebastien Pouliot <[email protected]>
* CSharpCodeProvider.cs: Added a LinkDemand and an InheritanceDemand
	for FullTrust (i.e. Unrestricted permission set) at the class level.
	Added [Obsolete] on CreateCompiler and CreateGenerator methods (2.0).
	Stubbed new method GenerateCodeFromMember (2.0).


svn path=/trunk/mcs/; revision=51819
2005-10-17 19:20:55 +00:00
Duncan Mak 24f5ef2c44 Add MIT license to System.dll
svn path=/trunk/mcs/; revision=30054
2004-06-21 18:02:11 +00:00
Duncan Mak 544d9defeb 2003-01-10 Duncan Mak <[email protected]>
* list.unix (CSharpCodeCompiler): Add
	Microsoft.Charp.CSharpCodeCompiler for Sean Kasun.

	* CSharpCodeCompiler.cs:
	* CSharpCodeProvider.cs: Patch from Sean Kasun
	<[email protected]> to implement CSharpCodeCompiler.

	* CompilerErrorCollection.cs:
	* CompilerParameters.cs: Patch from Sean Kasun
	<[email protected]> implementing most of the MonoTODOs in
	CompilerErrorCollection and the CompilerParameters overloads in CompilerParameters.cs.

svn path=/trunk/mcs/; revision=10362
2003-01-10 21:38:30 +00:00
Duncan Mak d3cfe31655 2002-10-11 Duncan Mak <[email protected]>
* CSharpCodeProvider.cs: Fix constructor visibility.

	* unix.args: Added System.Security.Cryptography.CryptoConfig.

	* DESCryptoServiceProvider.cs: Removed unnecessary Dispose ().

svn path=/trunk/mcs/; revision=8196
2002-10-12 02:02:24 +00:00
Daniel Stodden 1b4e294c54 big patch:
- System.CodeDom: lotsa corrections
	- System.CodeDom.Compiler: CodeGenerator about 80% complete
	- Microsoft.CSharp: CSharpCodegenerator intro

svn path=/trunk/mcs/; revision=4980
2002-05-28 06:59:57 +00:00