Commit Graph
9 Commits
Author SHA1 Message Date
Miguel de Icaza 48292550e8 More NET_2_0 define removal 2011-03-16 21:46:02 -04:00
Jb Evain 48c0c9ee3b 2010-04-01 Jb Evain <[email protected]>
* CodeDomProvider.cs, CompilerInfo.cs: add .net 4.0 overloads.


svn path=/trunk/mcs/; revision=154649
2010-04-01 15:47:55 +00:00
Marek Habersack bb4caa4b17 fix the build
svn path=/trunk/mcs/; revision=91339
2007-12-15 02:09: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
Marek Habersack 12270df7fe A default value of WarningLevel change and implementation of a missing API
svn path=/trunk/mcs/; revision=67454
2006-11-07 13:57:10 +00:00
Chris Toshok 9a12e2a666 2006-03-24 Chris Toshok <[email protected]>
* CompilerInfo.cs (Init): make this internal as well, so
	CodeDomConfigurationHandler can call it.

	* CodeDomConfigurationHandler.cs (ReadCompilers): we need to call
	CompilerInfo.Init after setting CompilerInfo.TypeName.


svn path=/trunk/mcs/; revision=58509
2006-03-24 23:57:42 +00:00
Sebastien Pouliot b8cacc11d6 2005-10-24 Sebastien Pouliot <[email protected]>
* CodeGeneratorOptions.cs: Fixed how properties are kept inside the
	IDictionary (which is just like System.Web.dll).
	* CompilerError.cs: Added [Serializable] attribute for 2.0.
	* CompilerInfo.cs: Added LinkDemand for Unrestricted. Stubbed new 
	(2.0) CreateDefaultCompilerParameters method.
	* CompilerParameters.cs: Added LinkDemand and InheritanceDemand for
	Unrestricted. Added Demand for ControlEvidence to Evidence property.
	Added new (2.0) EmbeddedResources and LinkedResources properties.
	* CompilerResults.cs: Added LinkDemand and InheritanceDemand for 
	Unrestricted. Added Demand for ControlEvidence to Evidence property.
	* Executor.cs: Added LinkDemand for Unrestricted. Added support for 
	userToken (impersonation).
	* GeneratedCodeAttribute.cs: New. 2.0 attribute for code generated by 
	tools.
	* IndentedTextWriter.cs: Added LinkDemand and InheritanceDemand for 
	Unrestricted.


svn path=/trunk/mcs/; revision=52159
2005-10-25 00:59:32 +00:00
Gonzalo Paniagua Javier 5e04df3d2f 2005-02-17 Gonzalo Paniagua Javier <[email protected]>
* System.dll.sources: added CodeDomConfigurationHandler.
	* System.CodeDom.Compiler/CodeDomProvider.cs: implemented IsDefined* and
	GetCompilerInfo.
	* System.CodeDom.Compiler/CompilerInfo.cs: implemented.
	* System.CodeDom.Compiler/CodeDomConfigurationHandler.cs: system.codedom
	section reader.


svn path=/trunk/mcs/; revision=40814
2005-02-17 17:46:55 +00:00
Marek Safar 5d46b79756 2004-09-06 Marek Safar <[email protected]>
* CodeCompileUnit.cs,
	* CodeMemberMethod.cs,
	* CodeMethodReferenceExpression.cs,
	* CodeStatement.cs,
	* CodeTypeDeclaration.cs,
	* CodeTypeMember.cs,
	* CodeTypeReference.cs : Implemented NET_2_0.

	* CodeChecksumPragma.cs,
	* CodeDirective.cs,
	* CodeDirectiveCollection.cs,
	* CodeRegionDirective.cs,
	* CodeRegionMode.cs,
	* CodeTypeParameter.cs,
	* CodeTypeParameterCollection.cs,
	* CodeTypeReferenceOptions.cs : New NET_2_0 files

svn path=/trunk/mcs/; revision=33419
2004-09-06 16:32:53 +00:00