124 Commits
Author SHA1 Message Date
Marek Safar 36a471f14e [System] Remove compiler config sections for types which cannot be instantiated
Fixes #7389
2018-03-08 10:20:47 +01:00
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
Alexander Köplinger 6f2ce1ddf9 [bcl] Rename FEATURE_MONO_CAS to MONO_FEATURE_CAS
To be consistent with the other MONO_FEATURE_* defines.
2017-01-20 16:00:56 +01:00
Marek Safar 95b0698304 [System] Clean up some warnings 2016-10-25 14:28:35 +02:00
Marek Safar aa77a6ddcc [System] Remove PrebuiltSystem alias (it's not needed with any modern mcs) 2016-04-16 08:37:07 +02:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Marek Safar 98740abe89 [system] CompilerParameters from reference sources 2015-05-11 16:55:52 +02:00
Atsushi Eno 4990b4c47b First step to import referencesource System.Xml.
It is not simply replacement because we have to workaround dynamic codegen
for Xamarin.iOS.

Also there were several tests failing with MS implementation (e.g. for
W3C DOM conformance), so we had to disable them.

There is one regression that rather needs to be fixed in Reflection.Emit.

Also, some WCF tests fail with this implementation. They need to be
investigated, reviewed and appropriately fixed.
2015-03-02 11:36:38 +08:00
Alexander Köplinger d4d7374efc [bcl] Remove ONLY_1_1 defines from class libs
This is not used anymore.
2015-01-21 17:18:30 +01:00
Zoltan Varga 032f313d5f [bcl] Remove NET_4_0 defines from class libs. 2015-01-13 16:06:31 -05: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
Marek Safar 3a7e67b4c5 Fixes CodeDom regression introduced by 66d4b82a87 2013-10-14 19:17:52 +02:00
Marek Safar 66d4b82a87 Ensure that CodeDom generated temporary directory is always created. Fixes #12202 2013-10-10 11:54:20 +02:00
Marek Safar dfae4bf027 Generate CodeSnippetTypeMember with correct separators. Fixes #8927 2012-12-15 12:46:59 +01:00
Miguel de Icaza f48ceb9860 [System] Removal of the NET_2_0 in the source code
Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
2012-06-02 13:16:40 -04:00
Ilker Cetinkaya d331ccd21f Fixed space indents to tabs to adhere to Mono coding guidelines. 2012-01-14 17:07:00 +01:00
Ilker Cetinkaya e43a6401f8 Made global namespace import being generated topmost, even before assembly attributes. 2012-01-13 20:23:31 +01:00
Miguel de Icaza 48292550e8 More NET_2_0 define removal 2011-03-16 21:46:02 -04:00
Gonzalo Paniagua Javier 4186a1455a Change parameter name.
Fixes bug #659123.
2010-12-13 17:00:49 -05:00
Jb Evain d01a84aa86 tag a couple of obsolete members
svn path=/trunk/mcs/; revision=157843
2010-05-25 13:13:23 +00:00
Jonathan Pryor 3a3269001b * System.CodeDom.Compiler/CodeGenerator.cs: Clear out the current member
when beginning Type generation.  This prevents "invalid" 
	  `#endregion`s; if the CodeGenerator instance is reused for multiple 
	  types, the last member of the first type has an EndDirective, then 
	  the EndDirectvies will be generated before any members of the 2nd 
	  type.  Don't do that.
	* Test/System.CodeDom.Compiler/CodeGeneratorTest.cs: Add some testing 
	  for CodeRegionDirectives.

svn path=/trunk/mcs/; revision=155321
2010-04-13 18:48:04 +00:00
Jb Evain b97703b3c5 2010-04-07 Jb Evain <[email protected]>
* Executor.cs: make class static.


svn path=/trunk/mcs/; revision=154953
2010-04-07 13:32:15 +00: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 c6c642eec3 commit 9405fa168b1255c51bb31ef17511c05593b08caa
Author: Marek Habersack <[email protected]>
Date:   Sat Mar 6 03:37:53 2010 +0100

    2010-03-06  Marek Habersack  <[email protected]>

    	* CompilerCollection.cs: in the 4.0 profile, the latest C#
    	standard is the compiler's default.

    2010-03-06  Marek Habersack  <[email protected]>

    	* CSharpCodeCompiler.cs: in the 4.0 profile, the latest C#
    	standard is the default one.

    2010-03-06  Marek Habersack  <[email protected]>

    	* RequestValidatorTestGenerated.cs: added

    	* RequestValidator.cs: added

    2010-03-06  Marek Habersack  <[email protected]>

    	* TestWorkerRequest.cs: added overloads of GetRawUrl and
    	GetUriPath which make sure that the returned paths do not contain
    	more than one leading / character.

    	* TestRunItem.cs: added new TestRunData property - to contain
    	per-appdomain test run data.

    	* TestCallback.cs: added a TestRunItem parameter.

    	* StandaloneTest.cs: runner object is created for each test item
    	now.
    	Added test progress feedback.

    	* ITestRunner.cs: added two properties, TestRunData - to return
    	collected test result data, if any, and Domain which returns the
    	current AppDomain.

    2010-03-06  Marek Habersack  <[email protected]>

    	* RequestValidatorTest.cs: added

    2010-03-06  Marek Habersack  <[email protected]>

    	* HttpRequest.cs: cache RawUrl value.
    	Added new internal property, PathNoValidation, which returns
    	request path without validating it.
    	Implemented 4.0 extensible validation.

    	* HttpApplication.cs: Pipeline () validates the request path, if
    	new validation mode is enabled, before doing anything else.
    	Added a generic LoadType overload which checks whether the loaded
    	type, if any, derives from the type specified in the method's
    	specialization.

    2010-03-06  Marek Habersack  <[email protected]>

    	* RequestValidator.cs: added

    	* RequestValidationSource.cs: added

    2010-03-06  Marek Habersack  <[email protected]>

    	* WebConfigurationManager.cs: do not use Request.Path - it may
    	fail because of invalid web.config file, use
    	Request.PathNoValidation instead.

    	* VersionConverter.cs: added

    	* PropertyHelper.cs: added a Version converter helper.

    	* HttpRuntimeSection.cs: added 4.0 properties -
    	RequestPathInvalidCharacters, RequestValidationType and
    	RequestValidationMode.

svn path=/trunk/mcs/; revision=153172
2010-03-06 02:48:31 +00:00
Marek Habersack e7f4c49538 2008-10-09 Marek Habersack <[email protected]>
* CompilerCollection.cs: use all the compiler information from
	config file when adding new CompilerInfo. Fixes bug #433802

svn path=/trunk/mcs/; revision=115329
2008-10-09 11:51:09 +00:00
Marek Habersack 93b63dd25d 2008-02-26 Marek Habersack <[email protected]>
* CSharpCodeCompiler.cs: CompilerResults.Output can now be set
	internally.
2008-02-26  Marek Habersack  <[email protected]>

	* CompilerResults.cs: Output can be set internally.

svn path=/trunk/mcs/; revision=96615
2008-02-26 10:19:42 +00:00
Juraj Skripsky 9b56a80c04 2008-02-10 Juraj Skripsky <[email protected]>
* System.dll.sources: Added ICodeDomVisitor.cs.

2008-02-10  Juraj Skripsky  <[email protected]>

	* CodeObject.cs: Add empty Visit method implementation.
	
	* CodeArgumentReferenceExpression.cs, CodeArrayCreateExpression.cs,
	CodeArrayIndexerExpression.cs, CodeAssignStatement.cs,
	CodeAttachEventStatement.cs, CodeBaseReferenceExpression.cs,
	CodeBinaryOperatorExpression.cs, CodeCastExpression.cs,
	CodeCommentStatement.cs, CodeConditionStatement.cs,
	CodeConstructor.cs, CodeDefaultValueExpression.cs,
	CodeDelegateCreateExpression.cs, CodeDelegateInvokeExpression.cs,
	CodeDirectionExpression.cs, CodeEntryPointMethod.cs,
	CodeEventReferenceExpression.cs, CodeExpressionStatement.cs,
	CodeFieldReferenceExpression.cs, CodeGotoStatement.cs,
	CodeIndexerExpression.cs, CodeIterationStatement.cs,
	CodeLabeledStatement.cs, CodeMemberEvent.cs,
	CodeMemberField.cs, CodeMemberMethod.cs,
	CodeMemberProperty.cs, CodeMethodInvokeExpression.cs,
	CodeMethodReferenceExpression.cs, CodeMethodReturnStatement.cs,
	CodeObjectCreateExpression.cs, CodeParameterDeclarationExpression.cs,
	CodePrimitiveExpression.cs, CodePropertyReferenceExpression.cs,
	CodePropertySetValueReferenceExpression.cs, CodeRemoveEventStatement.cs, 
	CodeSnippetExpression.cs, CodeSnippetTypeMember.cs,
	CodeThisReferenceExpression.cs, CodeThrowExceptionStatement.cs,
	CodeTryCatchFinallyStatement.cs, CodeTypeConstructor.cs,
	CodeTypeOfExpression.cs, CodeTypeReferenceExpression.cs,
	CodeVariableDeclarationStatement.cs, CodeVariableReferenceExpression.cs:
	Add Visit method implementation.

2008-02-10  Juraj Skripsky  <[email protected]>

	* CodeGenerator.cs: Mark CurrentClass internal for NET_1_1.
	Add nested Visitor class and member. 
	GenerateExpression, GenerateStatement, GenerateType: Use visitor.
	GeneratePrimitiveExpression: Replace if-else chain with switch
	on TypeCode.


svn path=/trunk/mcs/; revision=95401
2008-02-10 20:01:25 +00:00
Gert Driesen 04ed5e0ffa * CSharpCodeGenerator.cs: Avoid ArgumentNullException when
CodeDelegateInvokeExpression.TargetObject is null. 
* VBCodeGenerator.cs: In GenerateDelegateInvokeExpression, only emit
RaiseEvent statement on 2.0 profile if TargetObject is a
CodeEventReferenceExpression. Spaces to tabs and code formatting.
* CodeGenerator.cs: Fixed ArgumentException argument names. Indent
expression list.
* CodeGeneratorFromExpressionTest.cs: Copied some tests from VB, and
improved existing tests.
* CodeGeneratorFromExpressionTest.cs: Numbered tests. Fixed test for
DelegateInvokeExpression to pass on MS 2.0 and improved coverage.

svn path=/trunk/mcs/; revision=94055
2008-01-27 16:06:24 +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 Safar e61dde083e Warnings cleanup
svn path=/trunk/mcs/; revision=89678
2007-11-15 14:14:49 +00:00
Miguel de Icaza 56f425ec1e 2007-03-05 Peter Dettman <[email protected]>
* Codegenerator.cs: I noticed an `unreachable code' warning while
	building Mono:

	System.CodeDom.Compiler/CodeGenerator.cs(1229,42): warning CS0162:
	Unreachable code detected

	This turned out to be in the method
	CodeGenerator.IsValidLanguageIndependentIdentifier, which was
	broken.

	The following patch contains a unit test to demonstrate the
	problem (checked against MS.NET), and a fix to CodeGenerator.cs.

svn path=/trunk/mcs/; revision=73782
2007-03-06 04:59:30 +00:00
Marek Habersack 7e8cda0259 Be case-insensitive when looking up compilers
svn path=/trunk/mcs/; revision=73327
2007-02-22 16:54:03 +00:00
Miguel de Icaza e2e780cbc8 2007-01-22 Miguel de Icaza <[email protected]>
* CodeDomProvider.cs: Prevent Moma from getting confused.

svn path=/trunk/mcs/; revision=71455
2007-01-22 19:55:12 +00:00
Miguel de Icaza d8f63090f3 Improve MonoTODOs
svn path=/trunk/mcs/; revision=68541
2006-11-27 23:24:06 +00:00
Atsushi Eno 2a32cf13f8 2006-11-17 Atsushi Enomoto <[email protected]>
* TempFileCollection.cs : make it work under non-libc environment.


svn path=/trunk/mcs/; revision=68053
2006-11-17 09:19:49 +00:00
Marek Habersack 5af811cddc CompilerCollection must use a List to store the compiler infos because MS.NET allows storing multiple entries for the same language
svn path=/trunk/mcs/; revision=68039
2006-11-16 22:53:10 +00:00
Marek Habersack 0cb2041a4b A fix for a compilation problem. Thanks to Chris Toshok for showing me the light :)
svn path=/trunk/mcs/; revision=67962
2006-11-16 00:31:54 +00:00
Marek Habersack ff553f3300 Reimplementation of the CodeDomConfigurationHandler class as a ConfigurationSection. It now provides default compiler entries a'la MS.NET
svn path=/trunk/mcs/; revision=67961
2006-11-16 00:13:33 +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
Marek Habersack cca23190ec two small fixes for the handling of compiler definitions in the system.codedom section
svn path=/trunk/mcs/; revision=67401
2006-11-06 11:47:30 +00:00
Lluis Sanchez 1095b452d1 2006-09-15 LLuis Sanchez Gual <[email protected]>
* TempFileCollection.cs: Create files in a temporary subdirectory,
	for security reasons.
	* CodeCompiler.cs: Let TempFileCollection choose the temp dir.


svn path=/trunk/mcs/; revision=65441
2006-09-15 09:32:42 +00:00
Lluis Sanchez c259dff81d 2006-05-04 LLuis Sanchez Gual <[email protected]>
* TempFileCollection.cs: Make sure generated file names
	  are unique. Fixes bug #76125 and #78230.


svn path=/trunk/mcs/; revision=60253
2006-05-04 12:03:35 +00:00
Gert Driesen ef75d63d41 * CodeGeneratorFromNamespaceTest.cs: Added tests for
GenerateCodeFromNamespace.
* System_test.dll.sources: Added CodeGeneratorFromNamespaceTest.cs from
Microsoft.VisualBasic.
* CodeGenerator.cs: Output empty line between types if
BlankLinesBetweenMembers option is set.
* VBCodeGenerator.cs: Empty line and comments should be output after
namespace imports.
* CodeGeneratorFromNamespaceTest.cs: Added tests for namespace imports
and types.

svn path=/trunk/mcs/; revision=59690
2006-04-20 11:06:27 +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
Miguel de Icaza a5bd130af9 2006-03-11 Miguel de Icaza <[email protected]>
* Uri.cs: Pragma disable warning 612 (Obsolete methods are being
	used by us internally).

	Ponder: should we instead move our methods to use new versions of
	the Obsoleted ones?

2006-03-11  Miguel de Icaza  <[email protected]>

	* CodeNamespaceImportCollection.cs: It turns out that a lot of the
	errors flagged with "!" were just missing explicit interface
	implementations.  

	Implement.

2006-03-11  Miguel de Icaza  <[email protected]>

	* CodeDomConfigurationHandler.cs: Comment out unused methods. 

	* TempFileCollection.cs: Implement explicitly some interface
	methods to get rid of the "!" errors on CorCompare.

2006-03-11  Miguel de Icaza  <[email protected]>

	* Queue.cs: Flag as serializable.

	* LinkedList.cs (OnDeserialization): Fix signature. 

	* SortedList.cs: Implement explicitly a few methods that were
	flagged by corcompare. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
	avoid warning.

2006-03-11  Miguel de Icaza  <[email protected]>

	* ConfigurationSettings.cs (ChangeConfigurationSettings): Make
	internal to avoid warnings.  This routine is called from
	System.Web with MethodInfo.Invoke.

2006-03-11  Miguel de Icaza  <[email protected]>

	* DeflateStream.cs: Comment out DllImport that was not being
	used. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* y

	* SerialPort.cs: Remove unused variable (writeBuffer). 

	* SerialPortStream.cs (Dispose): override, not new.

2006-03-11  Miguel de Icaza  <[email protected]>

	* WebClient.cs: Only expose the right methods to avoid warnings. 

	* FtpDataStream.cs (Dispose): Fix signature.

	* FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
	like we are missing features here).

	* IPAddress.cs: Move m_HashCode property to the end, and set
	pragmas to disable warnings.

2006-03-11  Miguel de Icaza  <[email protected]>

	* MailAddress.cs: Comment out unused field to remove warning. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* NetworkChange.cs: Use pragmas to eliminate warnings from events
	that we do not trigger yet.

	This is a candidate for using Aaron's NetworkManager code.  But
	would make us depend on d-bus.

	* NetworkInformationException.cs: Use error_code for ErrorCode,
	instead of NativeErrorCode.   Fixes warning. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* AuthenticatedStream.cs: Fixed normative parameter names (yes, we
	need to do this everywhere one day).

	(Close): actually obey the "leaveInnerStreamOpen" setting from the
	constructor. 

2006-03-11  Miguel de Icaza  <[email protected]>

	* NetworkStream.cs (Dispose): Use the right signature depending on
	the profile being built.

2006-03-11  Miguel de Icaza  <[email protected]>

	* X509Chain.cs: Flagged member as internal to avoid unused warning.

	* X500DistinguishedName.cs: Comment out unused names and move
	temporary unused variables inside the comments that were removed 



svn path=/trunk/mcs/; revision=57836
2006-03-11 19:07:56 +00:00
Zoltan Varga b0de6b315c 2006-02-19 Zoltan Varga <[email protected]>
* CodeDomProvider.cs: Fix the [ToolboxItem] attribute. Fixes #77513.

svn path=/trunk/mcs/; revision=57052
2006-02-19 18:09:33 +00:00
Gert Driesen c3f574d8f0 * CodeGeneratorFromExpressionTest.cs: Added tests for
CodePrimitiveExpression.
* CSharpCodeGenerator.cs: Override GeneratePrimitiveExpression to
match .NET 1.x and 2.0 for float, decimal, char, ushort, uint, ulong
and sbyte.
* CodeGenerator.cs: Modified GeneratePrimitiveExpression to throw
ArgumentException for sbyte value, use GenerateSingleFloatValue for
float, GenerateDecimalValue for decimal and GenerateDoubleValue for
double. Modified exception message for non-primitive types to match
MS.NET.
* ICodeCompiler.cs: Set eol-style to native.
* CodeCompiler.cs: Set eol-style to native.
* CodeDomConfigurationHandler.cs: Set eol-style to native.
* CodeDomProvider.cs: Set eol-style to native.
* CodeGeneratorOptions.cs: Set eol-style to native.
* CodeParser.cs: Set eol-style to native.
* CompilerError.cs: Set eol-style to native.
* CompilerErrorCollection.cs: Set eol-style to native.
* CompilerInfo.cs: Set eol-style to native.
* CompilerParameters.cs: Set eol-style to native.
* CompilerResults.cs: Set eol-style to native.
* Executor.cs: Set eol-style to native.
* GeneratorSupport.cs: Set eol-style to native.
* ICodeGenerator.cs: Set eol-style to native.
* ICodeParser.cs: Set eol-style to native.
* LanguageOptions.cs: Set eol-style to native.
* TempFileCollection.cs: Set eol-style to native.
* VBCodeGenerator.cs: Modified GeneratePrimitiveExpression to match
.NET 1.x and 2.0 for char, float, ushort, uint, ulong and sbyte.

svn path=/trunk/mcs/; revision=54032
2005-12-07 13:16:31 +00:00
Gert Driesen e4e516d410 * CodeGeneratorFromStatementTest.cs: Added tests for
CodeAssignStatement, CodeAttachEventStatement,
CodeConditionStatement, CodeExpressionStatement,
CodeIterationStatement, CodeLabeledStatement,
CodeMethodReturnStatement, CodeRemoveEventStatement,
CodeSnippetStatement, CodeStatement, CodeVariableDeclarationStatement.
* CodeRemoveEventStatementTest.cs: Added tests for ctors.
* IndentedTextWriterTest.cs: Added tests for Indent property.
* CodeGeneratorFromStatementTest.cs: Added tests for
CodeAssignStatement, CodeAttachEventStatement, CodeConditionStatement,
CodeExpressionStatement, CodeIterationStatement,
CodeLabeledStatement, CodeMethodReturnStatement,
CodeRemoveEventStatement and CodeSnippetStatement.
* CSharpCodeGenerator.cs: No longer output semicolon and newline for
CodeVariableDeclarationStatement in for statement, fixes #75292.
Fixed NRE in GenerateEventReferenceExpression. Cosmetic changes to
code generated for iteration to match MS.NET. Temporary reduce
indentation for label and no longer escape label if its a keyword.
* CodeRemoveEventStatement.cs: Event returns new CodeEventReference
if underlying value is null.
* System_test.dll.sources: Added CodeRemoveEventStatementTest.cs from
System.CodeDom.
* CodeGenerator.cs: Corrected line endings. Set eol-style to native.
* IndentedTextWriter.cs: Indent can no longer become negative.
* VBCodeGenerator.cs: Fixed NRE in GenerateEventReferenceExpression,
and escape event name. Indent statements for iteration. Avoid
ArgumentNullException if expression is not set for CodeReturnStatement.
Temporary reduce indentation for label, and fixed ArgumentNullException
if no statement is set. Cosmetic changes to code generated for
condition to match MS.NET. In OutputTypeNamePair, escape name.

svn path=/trunk/mcs/; revision=53703
2005-11-30 18:54:17 +00:00