Add/AddRange/Insert methods.
* CodeCatchClauseCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeStatementCollectionTest.cs: Added AddRange test for null item.
* CodeTypeMemberCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeCommentStatementCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeAttributeArgumentCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeAttributeDeclarationCollectionTest.cs: Added tests for ctors,
and Add/AddRange/Insert methods.
* CodeDirectiveCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeTypeDeclarationCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeNamespaceImportCollectionTest.cs: Added tests for ctor, Add and
AddRange methods.
* CodeNamespaceCollectionTest.cs: Added tests for ctors, and
Add/AddRange/Insert methods.
* CodeCatchClauseCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeAttributeDeclarationCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeTypeMemberCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeTypeDeclarationCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeNamespaceImportCollection.cs: Added null check to Add and perform
case-insensitive check on namespace to avoid duplicate namespace
imports. Added null check to AddRange method.
* CodeNamespaceCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeCommentStatementCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeAttributeArgumentCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* CodeDirectiveCollection.cs: Added null check to AddRange overloads
and use for loop to add elements.
* CodeTypeParameterCollection.cs: Added null check to AddRange
overloads and use for loop to add elements.
* System_test.dll.sources: Added CodeNamespaceImportCollectionTest.cs,
CodeNamespaceCollectionTest.cs, CodeTypeDeclarationCollectionTest.cs,
CodeTypeMemberCollectionTest.cs, CodeTypeParameterCollectionTest.cs,
CodeAttributeArgumentCollectionTest.cs, CodeDirectiveCollectionTest.cs,
CodeAttributeDeclarationCollectionTest.cs,
CodeCatchClauseCollectionTest.cs,
CodeCommentStatementCollectionTest.cs.
svn path=/trunk/mcs/; revision=53288
* CodeArgumentReferenceExpression.cs: Added default value for
arameterName.
* CodeArrayCreateExpression.cs: Added default value for createType.
* CodeAttachEventStatement.cs: Added default value for eventRef.
* CodeAttributeArgument.cs: Added default value for name.
* CodeAttributeArgumentCollection.cs: Fixed AddRange methods not to
throw an exception (as the list was being changed when using an
numerator).
* CodeAttributeDeclaration.cs: Added default value for name.
* CodeAttributeDeclarationCollection.cs: Fixed AddRange methods not to
throw an exception (as the list was being changed when using an
numerator).
* CodeCastExpression.cs: Added default value for targetType.
* CodeCatchClause.cs: Added default value for catchExceptionType and
ocalName.
* CodeCatchClauseCollection.cs: Fixed AddRange methods not to throw an
xception (as the list was being changed when using an enumerator).
* CodeCommentStatementCollection.cs: Fixed AddRange methods not to
hrow an exception (as the list was being changed when using an
numerator).
* CodeDelegateCreateExpression.cs: Added default value for
elegateType and methodName.
* CodeEventReferenceExpression.cs: Added default value for eventName.
* CodeExpressionCollection.cs: Fixed AddRange methods not to throw an
xception (as the list was being changed when using an enumerator).
* CodeFieldReferenceExpression.cs: Added default value for fieldName.
* CodeMethodInvokeExpression.cs: Added default value for method.
* CodeMethodReferenceExpression.cs: Added default value for methodName
* CodeNamespace.cs: Added default value for name.
* CodeNamespaceCollection.cs: Fixed AddRange methods not to throw an
xception (as the list was being changed when using an enumerator).
* CodeNamespaceImport.cs: Added default value for nameSpace.
* CodeNamespaceImportCollection.cs: SyncRoot returns null.
* CodeObjectCreateExpression.cs: Added default value for createType.
* CodeParameterDeclarationExpression.cs: Added default value for name
and type.
* CodeParameterDeclarationExpressionCollection.cs: Fixed AddRange
methods not to throw an exception (as the list was being changed when
using an enumerator).
* CodePropertyReferenceExpression.cs: Added default value for
propertyName.
* CodeRemoveEventStatement.cs: Added default value for eventRef.
* CodeSnippetExpression.cs: Added default value for value.
* CodeSnippetStatement.cs: Added default value for value.
* CodeSnippetTypeMember.cs: Added default value for text.
* CodeStatementCollection.cs: Fixed AddRange methods not to throw an
exception (as the list was being changed when using an enumerator).
* CodeTypeDeclarationCollection.cs: Fixed AddRange methods not to
throw an exception (as the list was being changed when using an
enumerator).
* CodeTypeMemberCollection.cs: Fixed AddRange methods not to throw an
exception (as the list was being changed when using an enumerator).
* CodeTypeOfExpression.cs: Added default value for type.
* CodeTypeReferenceCollection.cs: Fixed AddRange methods not to throw
an exception (as the list was being changed when using an enumerator).
* CodeTypeReferenceExpression.cs: Added default value for type.
* CodeVariableDeclarationStatement.cs: Added default value for name
and type.
* CodeVariableReferenceExpression.cs: Added default value for
variableName.
svn path=/trunk/mcs/; revision=52127