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
19a53c7f2c
Add test for SD2-1110 (currently broken, let's see if the build server catches unit test errors)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2101 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
ecf6c52e82
On VB -> C# conversion, do not generate "functionReturnValue" for functions that don't assign to their name.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2071 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Markus Palme
73f0c70429
SD2-1201: IfElseStatement does not have Location and Parent set
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2068 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
c7e62da426
Fixed SD2-1202: NullReferenceException for incomplete type argument list
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2048 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
bd84127e89
Type parameters are now included in CtrlSpace list.
...
Prevent exception on invalid constraints declarations.
Fixed forum-12689: InvalidCastException when ${property:...}-Tag is used to get a property that is not of type string.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1943 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
53739a9c31
Fixed forum-12661: Missing parenthesis when converting CastExpression from VB to C#.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1940 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
d9dd2ffd90
Fixed SD2-1166: C# parser: Initializer in event declaration causes parser error
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1899 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c1021f1393
Fixed SD2-982: Autogenerated interface code adds property setter when only getter defined
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1873 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
bbb73b9b8f
C# parser bug: fixed arrays in unsafe structs are now parsed correctly
...
XmlDoc.Load now does not throw an exception for invalid XML files.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1703 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
d8cc294df5
Fixed SD2-968: C# to VB conversion error for generic structures.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1671 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
de05357b9e
Fixed SD2-971: Correct VB arrays declaration and redim-statements are recognized as code errors.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1669 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
c0d3486c47
Fixed SD2-963: Incorrect VB to C# convertion for public structure variables
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1648 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
19d999cf82
SD2-945: Typing a declaration of two or more variables in the same line (VB) throws exception
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1611 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
64971ec421
Implemented SD2-446: Support skipping method bodies in VB Lexer.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1586 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
d4abe4a752
NRefactory now preserves blank lines.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1585 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
6f4e2a4736
Work around MSBuild CopyToOutputDirectory bug.
...
Fixed NRefactory unit tests.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1584 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
53c8c4d56c
Fixed forum-8951: C# parser bug with "default(T)".
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1500 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
89e34175cf
Fixed SD2-885: Folding breaks using 'ReferenceEquals()' method in VB (Parser error for member access on VB "Object")
...
Fixed SD2-884: Folding breaks on multi-dimensional array declaration in VB
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1498 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
2ed82fd4cb
Fixed some bugs reported in the forum.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1488 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
80d967e240
Fixed parsing of the VB "Custom" keyword (it is valid variable identifier but not valid field identifier)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1486 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
79f22303b6
Fixed VB parser bug: Using statement can have multiple variable declaration expressions. (forum-8651)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1478 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
515b955432
Lock access to DefaultProjectContent.ReferencedContents - can be modified by main thread and solution loading thread.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1477 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
29b56d32d0
Fixed forum-8723: exception when loading designer for form containing enum TypeDeclarations.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1476 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
8d441d6f05
Fixed forum-8452: VB parser bug
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1465 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
30d6d5f7fa
Fixed forum-8128: C# parser bug when type parameter is a fully qualified name.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1437 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
df43c0eef7
Fixed SD2-816: Output visitor does not output implicit/explicit operators
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1419 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
58dfc5abce
Fixed SD2-813: If statement not parsed
...
Fixed other small bugs.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1417 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
dd4e5f9ea9
Fixed crash when parsing incomplete Imports statement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1353 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
db253755b8
Fixed SD2-571: Folding classes hides the declaration line
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1346 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
01b05ed704
Fixed SD2-725: Partial inner class defined inside form
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1333 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago
Daniel Grunwald
254bf37011
Fixed exception when parsing incomplete Select Case statement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.0@1314 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
20 years ago