mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
7138ab117fe55c4e60dfdf2433db54fac00a02de
4
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
48292550e8 | More NET_2_0 define removal | ||
|
|
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 |
||
|
|
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 |
||
|
|
b02ef389e2 |
2005-10-23 Sebastien Pouliot <[email protected]>
* CodeAttributeDeclaration.cs: Added new 2.0 ctor and AttributeType property. * CodeDefaultValueExpression.cs: New. Implemented (2.0). * CodeDirectiveCollection.cs: Completed implementation. * CodeGotoStatement.cs: Added default ctor for 2.0. * CodeIndexerExpression.cs: Fixed typo in header. * CodeLinePragma.cs: Added default ctor for 2.0. * CodeRegionMode.cs: Added missing None element. * CodeSnippetCompileUnit.cs: Added default ctor for 2.0. * CodeTypeDeclaration.cs: Added ComVisible(false) on TypeParameters property. * CodeTypeParameterCollection.cs: Completed implementation. svn path=/trunk/mcs/; revision=52098 |