Daniel Grunwald
9b7a082e24
Add partial C# 3.0 support.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2191 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
0729800650
Fixed SD2-1180: Changed event inserted at wrong position
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2062 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
47ae6603d0
Fixed SD2-596: C# to VB conversion should use CType instead of DirectCast for casts to primitives
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2035 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
f399bed9de
Fixed SD2-1079: Cast statements not converted correctly from C# to VB.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2034 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
ca3838f9b3
Re-enable resolver unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1872 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
7936cdc4dc
Fixed SD2-1048: Fully qualified names base types are added after 'global::' as keywords Converting from VB to C#.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1870 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
e4ede6d7b4
Fixed SD2-997: C# comments re-ubication may result in a code error when converting code from C# to VB.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1739 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
1b5d91cd34
Fixed SD2-994: Public static classes not converted correctly from C# to VB.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1738 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
afe45ea0dd
Fixed SD2-996: C# assigned generic variables not converted correctly to VB.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1726 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
ddf419442b
Fixed SD2-1021: Alias for namespaces not converted correctly between C#<-->VB.NET for base types.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1725 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
66acc25b3b
Fixed SD2-992: C# Interface public elements are converted to VB as Privates ones.
...
Fixed default visibility of inner types.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1674 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
ae6de2495e
Improved NRefactory public API (moving classes to other namespaces etc.)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1609 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
3df97ea2d9
Fixed SD2-891: Content of VB 'With' statement not converted correctly to C#
...
Fixed SD2-894: Abstract properties declaration not converted correctly from VB to C#
Fixed SD2-895: VB 'Not' operator is not converted correctly to C#
Fixed SD2-901: VB 'Continue' statement not converted correctly from C#
Fixed SD2-902: C# 'break' statement not converted correctly to VB
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1607 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
720d93d03f
Fixed SD2-930: VB exponential operator not converted to C#
...
Fixed SD2-879: Folding breaks with consecutive operators in VB code
Fixed SD2-906: Folding breaks on VB property declaration
Fixed SD2-921: Definitions in one line converted incorrectly from VB to C#
Fixed SD2-903: 'Using' statement not converted correctly from VB to C#
Fixed SD2-890: 'uint' type converted incorrectly from C# to VB
Fixed SD2-907: static method level variables are not translated from VB to C#
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1605 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
9fa1b07c0c
Fixed some FxCop warnings in NRefactory.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1599 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
f521b44db3
Fixed SD2-883: C# to VB conversion error when having a 'while()' statement in one line
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1499 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
b2a3cc4ead
More bugfixes for the C# <-> VB converter.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1473 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
06680fb191
Improved C#<->VB converter.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1468 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
2de421c5a9
Fixed C# <-> VB conversion bugs.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1434 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
6c0473638e
Fixed some NRefactory bugs, added NRefactory unit tests.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1080 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
1538282335
C# <-> VB converter now converts P/Invoke declarations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1018 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
fd3cc63664
Fixed C# parser bug: cast followed by anonymous method.
...
Added "StringResourceToolAddIn" to src/Tools: little AddIn that helps adding resources to our internal translation database.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1009 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
55300ef602
Fixed project converter bugs.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@992 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
3175901033
Fixed NullReferenceException when converting C# statements like "if (a != null) b.c();"
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@991 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
062b1a35f1
Added AbstractAstTransformer, using it now for the code converter. This should fix problem for certain statement combinations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@979 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
8daa2ffef7
Fixed bug converting AddHandler statements to C#.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@968 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
02d57c4611
Improved C# <-> VB conversion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@959 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
32abb6ee5a
Change file header.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@915 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
d59a61c841
Fixed bug in C# to VB converter: AddEventHandler statements were not converted correctly.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@897 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago
Daniel Grunwald
e8a8828662
Fixed SD2-600 (Can't convert for loop). VB parser now accepts zero as lower array bound.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@871 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
21 years ago