Daniel Grunwald
64e7f0645d
Fixed SD2-803: Implicit interface implementations are not converted correctly to VB
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2653 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
83b98bd73d
Fixed SD2-1028: local variables should be always initialized when converting code from VB to C#.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2652 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
50015a2b7b
Fixed SD2-1298: Converting single assignment and comparison statement from C# to VB.NET
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2642 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5f9f3db75c
Update string resources.
...
Improve lexer code determining the type of integer literals.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2639 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
670b0d5212
Fixed C# parser bug regarding integer literals between long.MaxValue + 1 and ulong.MaxValue.
...
C# spec 2.4.4.2: Implemented rules regarding int.MinValue and long.MinValue (they get tokenized to Token.Minus + Token.Literal(uint/ulong), but must be parsed as signed int/long)
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2638 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9dbd77c0d1
C# parser: allow unicode escape sequences in identifier names (yes, "int numb\u0065r;" is valid C#!)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2637 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
9d73b7042e
C# lexer: add support for 32-bit unicode escape sequences (including those that represent surrogate pairs)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2636 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
3c3ac7e95a
CSharpExpressionFinder: better support for field initializers
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2621 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a58c7e1f86
More C# code completion fixes.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2618 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
5602eff9e7
NRefactory output visitors: allow inserting specials between attributes and the attributed node.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2615 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
4b8d80a68b
Fixed SD2-1363: Exception is thrown using incorrect VB syntax.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2603 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
a16fc826ce
EventHandlerCompletitionDataProvider: build event name correctly ("button1.Click"=>"button1_Click"), fixed support for generic delegates (EventHandler<T>)
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2594 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
6331df6b0c
Fixed forum-17502: exception in C# and VB lexer when a hexadecimal literal is larger than ulong.MaxValue.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2559 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
97342e3d49
Fixed snippet parser bugs.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2522 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
cb8f1d1078
Fixed NullReferenceException in ToVBNetConvertVisitor when doing snippet conversion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2518 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
2586fed6ff
Add SnippetParser class.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2517 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
b63d19415b
Begin implementing "aggressive" context-dependent code-completion (Ctrl+Space completion whenever you start to type).
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2509 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
18 years ago
Daniel Grunwald
57a8cfebb2
Improved C# 3.0 code-completion.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2506 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
b95469bf0a
Fixed another problem related to ternary expressions and "is" expressions.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2485 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
0bb578ef69
Fixed forum-16306: NRefactory can't parse ternary expressions containing -1
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2484 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
40b92e149e
VB token list: "Off" and "Explicit" are not reserved words.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2453 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
3b20e9e076
VB parser: "Off" and "Explicit" are not reserved words.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2452 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
39bfcc0013
Fixed SD2-1338: VB "Handles" cause cannot be parsed when handling an event on "Me"
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2437 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
15da21072b
Fixed forum-15559: C# lexer reports error on identifiers like @_ABC
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2419 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
e6bdcac3ae
Fixed SD2-1282: Completion inside Select Case statement
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2337 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
8620427755
Fixed SD2-1286: Nested With statements result in stack overflow
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2331 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
7dfd63273a
Improved VB -> C# converter.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2202 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
137ebabd5a
Fixed SD2-1040: External subs declarations not converted correctly from VB to C#
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2200 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
4a374bf942
Fixed SD2-1071: Explicit bounds in array assignment not converted correctly between C#<-->VB.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2199 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
773461f3fb
Fixed SD2-928: Code generation options are ignored
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/branches/2.1@2198 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
9944060a99
Remove GetClass overload that doesn't take a TypeParameterCount
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2195 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
9b7a082e24
Add partial C# 3.0 support.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2191 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
259a31692e
Fixed code-completion problem introduced in last revision.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2175 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
8c2dfd9573
Fixed scope of loop variable in ForStatement.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2174 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
f5793ea348
Fixed some problems reported in the forum.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2140 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
988ddfc1de
Fixed SD2-1066: Invalid event handler generated for delegate's ref parameter
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2116 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
a745c607d5
Fixed SD2-1110: Conversion of Microsoft generic sample project between C#<-->VB throws exception.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2102 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Daniel Grunwald
0e00c678ce
Fixed SD2-1189: VB: #-delimited dates not supported by syntax highlighting and expression finder
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2087 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 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
19 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
19 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
19 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
19 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
19 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
19 years ago
Daniel Grunwald
5691c03e96
Fixed SD2-1181: Remove unused imports removes using statements required for type arguments
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2032 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Markus Palme
a0db909e8f
SD2-1161: Refactor icons don't show for VB generic interface declarations in the editor.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1993 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Markus Palme
9b8e8de67b
added SharpCoco source code
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1980 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Markus Palme
c72b88aa50
keep directory
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1979 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Markus Palme
2a40620a58
fixed parser generation
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1978 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago
Markus Palme
af50fcaf60
removed sharpcoco binary because it's not used. removed sharpcoco source code because it doesn't match the version used.
...
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@1977 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
19 years ago