mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
7138ab117fe55c4e60dfdf2433db54fac00a02de
5
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
e8c67296c0 |
* CodeParameterDeclarationExpressionCollection.cs: Use CollectionBase
implementation of IList.Remove to handle removal of item from collection. * CodeCatchClauseCollection.cs: Same. * CodeStatementCollection.cs: Same. * CodeAttributeDeclarationCollection.cs: Same. * CodeTypeMemberCollection.cs: Same. * CodeDirectiveCollection.cs: Same. * CodeTypeDeclarationCollection.cs: Same. * CodeNamespaceCollection.cs: Same. * CodeExpressionCollection.cs: Same. * CodeTypeReferenceCollection.cs: Same. * CodeTypeParameterCollection.cs: Same. * CodeCommentStatementCollection.cs: Same. * CodeAttributeArgumentCollection.cs: Same. * CodeTypeParameterCollectionTest.cs: Improve coverage of AddRange test. Added Remove tests. * CodeParameterDeclarationExpressionCollectionTest.cs: Same. * CodeCatchClauseCollectionTest.cs: Same. * CodeStatementCollectionTest.cs: Same. * CodeTypeMemberCollectionTest.cs: Same. * CodeExpressionCollectionTest.cs: Same. * CodeTypeReferenceCollectionTest.cs: Same. * CodeCommentStatementCollectionTest.cs: Same. * CodeAttributeArgumentCollectionTest.cs: Same. * CodeAttributeDeclarationCollectionTest.cs: Same. * CodeDirectiveCollectionTest.cs: Same. * CodeTypeDeclarationCollectionTest.cs: Same. * CodeNamespaceCollectionTest.cs: Same. svn path=/trunk/mcs/; revision=53293 |
||
|
|
1994a6236a |
* CodeTypeParameterCollectionTest.cs: Added tests for ctors, and
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 |
||
|
|
79f6e3d086 |
* CodeExpressionCollectionTest.cs: Fixed test case for AddRange_Self
to really discover regressions. * CodeStatementCollectionTest.cs: same. * CodeTypeReferenceCollectionTest.cs: same. svn path=/trunk/mcs/; revision=52796 |
||
|
|
2d1e4c6038 |
2005-11-08 Sebastien Pouliot <[email protected]>
* CodeExpressionCollectionTest.cs: Added test case for AddRange(self). * CodeStatementCollectionTest.cs: Added test case for AddRange(self). * CodeTypeReferenceCollectionTest.cs: Added test case for AddRange(self). svn path=/trunk/mcs/; revision=52727 |
||
|
|
553a7f2083 |
* System_test.dll.sources: Added CodeCastExpressionTest.cs,
CodeCatchClauseTest.cs, CodeChecksumPragmaTest.cs, CodeConstructorTest.cs, CodeDefaultValueExpressionTest.cs; CodeDelegateCreateExpressionTest.cs, CodeEventReferenceExpressionTest.cs CodeGotoStatementTest.cs, CodeLabeledStatementTest.cs, CodeLinePragmaTest.cs, CodeMemberMethodTest.cs, CodeMethodInvokeExpressionTest.cs, CodeMethodReferenceExpressionTest.cs, CodeNamespaceImportTest.cs, CodeNamespaceTest.cs, CodeObjectCreateExpressionTest.cs, CodeParameterDeclarationExpressionTest.cs, CodePropertyReferenceExpressionTest.cs, CodeRegionDirectiveTest.cs, CodeSnippetCompileUnitTest.cs, CodeSnippetExpressionTest.cs, CodeSnippetStatementTest.cs, CodeSnippetTypeMemberTest.cs, CodeStatementCollectionTest.cs, CodeTypeConstructorTest.cs, CodeTypeParameterTest.cs, CodeTypeOfExpressionTest.cs, CodeTypeReferenceExpressionTest.cs, CodeVariableDeclarationStatementTest.cs, CodeVariableReferenceExpressionTest.cs * CSharpCodeGenerator.cs: Ignore ChecksumData of CodeChecksumPragma if null. * CodeTypeReferenceExpressionTest.cs: Added tests. * CodeVariableDeclarationStatementTest.cs: Added tests. * CodePropertyReferenceExpressionTest.cs: Added tests. * CodeNamespaceImportTest.cs: Added tests. * CodeTypeConstructorTest.cs: Added tests. * CodeSnippetExpressionTest.cs: Added tests. * CodeParameterDeclarationExpressionTest.cs: Added tests. * CodeObjectCreateExpressionTest.cs: Added tests. * CodeTypeDelegateTest.cs: Set eol-style to native. * CodeLabeledStatementTest.cs: Added tests. * CodeConstructorTest.cs: Added tests. * CodeTypeOfExpressionTest.cs: Added tests. * CodeGotoStatementTest.cs: Added tests. * CodeCastExpressionTest.cs: Added tests. * CodeMemberFieldTest.cs: Set eol-style to native. * CodeMethodInvokeExpressionTest.cs: Added tests. * CodeEventReferenceExpressionTest.cs: Added tests. * CodeChecksumPragmaTest.cs: Added tests. * CodeSnippetCompileUnitTest.cs: Added tests. * CodeNamespaceTest.cs: Added tests. * CodeSnippetStatementTest.cs: Added tests. * CodeMemberMethodTest.cs: Added tests. * CodeMemberPropertyTest.cs: Set eol-style to native. * CodeCatchClauseTest.cs: Added tests. * CodeStatementCollectionTest.cs: Added tests. * CodeRegionDirectiveTest.cs: Added tests. * CodeTypeParameterTest.cs: Added tests. * CodeVariableReferenceExpressionTest.cs: Added tests. * CodeDefaultValueExpressionTest.cs: Added tests. * CodeSnippetTypeMemberTest.cs: Added tests. * CodeDelegateCreateExpressionTest.cs: Added tests. * CodeLinePragmaTest.cs: Added tests. * CodeMethodReferenceExpressionTest.cs: Added tests. * CodeEventReferenceExpression.cs: EventName now returns zero-length string if underlying value is null. * CodeParameterDeclarationExpressionCollection.cs: Fixed AddRange to add each item to collection using Add method to ensure validation is performed. * CodeChecksumPragma.cs: FileName now returns zero-length string if underlying value is null. * CodeSnippetCompileUnit.cs: Value now returns zero-length string if underlying value is null. * CodeNamespace.cs: Name now returns zero-length string if underlying value is null. * CodeSnippetStatement.cs: Value now returns zero-length string if underlying value is null. * CodeMemberMethod.cs: code formatting change. * CodeCatchClause.cs: CatchExceptionType now returns CodeTypeReference instance for System.Exception if underlying value is null. LocalName now returns zero-length string if underlying value is null. * CodeStatementCollection.cs: Fixed AddRange to add each item to collection using Add method to ensure validation is performed. Code formatting changes. * CodeRegionDirective.cs: RegionText now returns zero-length string if underlying value is null. * CodeTypeParameter.cs: Name now returns zero-length string if underlying value is null. * CodeVariableReferenceExpression.cs: VariableName now returns zero-length string if underlying value is null. * CodeDefaultValueExpression.cs: Type now returns CodeTypeReference for void if underlying value is null. * CodeExpressionCollection.cs: Fixed AddRange to add each item to collection using Add method to ensure validation is performed. * CodeSnippetTypeMember.cs: Text now returns zero-length string if underlying value is null. * CodeTypeReferenceCollection.cs: Fixed AddRange to add each item to collection using Add method to ensure validation is performed. * CodeDelegateCreateExpression.cs: DelegateType now returns CodeTypeReference for void if underlying value is null. MethodName now returns zero-length string if underlying value is null. * CodeMethodReferenceExpression.cs: MethodName now returns zero-length string if underlying value is null. * CodeLinePragma.cs: FileName now returns zero-length string if underlying value is null. * CodeTypeReferenceExpression.cs: Type now return CodeTypeReference for void if underlying value is null. * CodeVariableDeclarationStatement.cs: Name now return zero-length string if underlying value is null. Type returns CodeTypeReference for void if underlying value is null. * CodePropertyReferenceExpression.cs: PropertyName now returns zero-length string if underlying value is null. * CodeNamespaceImport.cs: Namespace now returns zero-length string if underlying value is null. * CodeTypeConstructor.cs: Name is fixed to ".cctor" to match MS.NET. * CodeSnippetExpression.cs: Value now returns zero-length string if underlying value is null. * CodeParameterDeclarationExpression.cs: Name now returns zero-length string if underlying value is null. Type now returns CodeTypeReference for void if underlying value is null. * CodeObjectCreateExpression.cs: CreateType now returns CodeTypeReference for void if underlying value is null. * CodeLabeledStatement.cs: Label returns zero-length string if underlying value is null. * CodeConstructor.cs: Name is fixed to ".ctor" to match MS.NET. * CodeTypeOfExpression.cs: Type returns CodeTypeReference for void if underlying value is null. * CodeGotoStatement.cs: Only throw ArgumentNullException for null or zero-length label on 2.0 profile. * CodeCastExpression.cs: TargetType returns CodeTypeReference for void if underlying value is null. * CodeMethodInvokeExpression.cs: Method returns a default CodeMethodReferenceExpression instance if the underlying value is null. svn path=/trunk/mcs/; revision=52579 |