Christoph Wille
42a695d6b6
Remove build server links
2019-10-11 19:55:39 +02:00
Mike Krüger
6094734e40
Merge pull request #348 from Therzok/conc
...
[C#] Add missing EnableConcurrentExecution
2018-01-02 11:17:35 +01:00
Marius Ungureanu
6695dc8268
[C#] Add missing EnableConcurrentExecution
2017-12-28 16:30:06 +02:00
Andreas Weizel
c2e069e0da
Updated version to 5.6.
2017-12-22 11:49:33 +01:00
Christoph Wille
c0fdd67ac5
Last remnants (package restore) of dependencies for CC
2017-12-21 10:38:36 +01:00
Christoph Wille
b563a63348
Minor changes to doc links
2017-12-21 10:31:22 +01:00
Christoph Wille
ff7e30a302
Update README.md with pointer to new CC repository, remove converter.txt (limitations document)
2017-12-21 10:21:38 +01:00
Christoph Wille
ba34dade59
Remove code for Code Converter in RE, Unit Tests and VSIX (basically returned it to state of release 3.2)
2017-12-21 10:18:42 +01:00
Christoph Wille
5857519150
Remove code converter web app. Moved to https://github.com/icsharpcode/CodeConverter/
2017-12-21 09:59:43 +01:00
Siegfried Pammer
0f9c09d40f
Merge pull request #346 from GrahamTheCoder/better-vb-conversion
...
Better Visual Basic to C Sharp conversion
2017-12-17 16:02:42 +01:00
GrahamTheCoder
91c0c8cf30
Use switch for readability - matches style of VisitExitStatement
2017-12-17 14:59:10 +00:00
GrahamTheCoder
64a8c6020d
Choose unique variable names
...
Decided to get all descendants to avoid any descendant scope variable hiding issues. This is different than the CheckDictionaryKeyValueCodeRefactoringProvider because that isn't a block syntax
2017-12-17 13:03:21 +00:00
GrahamTheCoder
8dbb1d0322
Pure refactor to share stack of variable names
...
If more state gets shared, it'd probably make more sense to pull the stack onto a class of its own to handle that state.
2017-12-17 12:06:13 +00:00
GrahamTheCoder
2bdd9b9319
Qualify name
2017-12-17 12:02:24 +00:00
GrahamTheCoder
87a069dace
Remove comment which was actually fixed in the commit it was added
...
See b3949a2fb6
2017-12-17 11:34:43 +00:00
GrahamTheCoder
42c93a5c4b
Implement Stop keyword as Debugger.Break();
...
Verified by siegfriedpammer here: https://github.com/icsharpcode/RefactoringEssentials/pull/346#discussion_r155178617
2017-12-17 11:32:39 +00:00
GrahamTheCoder
5277bf1ea4
Change VB's "End" to be Environment.Exit(0)
...
Note that this still doesn't close any open files like VB's End keyword tries to because FileSystem.CloseAllFiles(Assembly.GetCallingAssembly()); is an internal method
The exit code was verified by siegfriedpammer:
https://github.com/icsharpcode/RefactoringEssentials/pull/346#discussion_r155178617
2017-12-17 11:25:41 +00:00
GrahamTheCoder
2b8dec45d3
Implement property initializers for readonly and non-readonly props
2017-12-06 00:38:11 +00:00
GrahamTheCoder
02a21d69c1
Setup test VB workspace more like a real project
...
Allows use of Visual Basic constants etc.
2017-12-05 23:50:53 +00:00
GrahamTheCoder
5ad601a52d
Implement iheritance overload keywords in C#
...
squash! Implement overloads keyword as "new" in C#
2017-12-05 23:50:11 +00:00
GrahamTheCoder
fbd6c2a753
Make each case a block like it is (secretly) in vb
...
This avoid compilation errors where the same variable name is used in multiple case blocks
2017-12-05 23:50:10 +00:00
GrahamTheCoder
4eb4cccfae
Make sure the partial keyword comes last
2017-12-05 23:50:10 +00:00
GrahamTheCoder
3ee3be8c62
Implement with block using temporary variable
2017-12-05 23:50:10 +00:00
GrahamTheCoder
92b5f82ab8
Declare for loop variable implicitly created by VB
2017-12-05 23:04:19 +00:00
GrahamTheCoder
66297755cc
Convert VB's implicit empty argument lists using a simple heuristic
2017-12-05 23:04:16 +00:00
GrahamTheCoder
5a637b8453
Fix non-compiling attribute conversion output
2017-12-05 23:03:09 +00:00
GrahamTheCoder
2ce36b739a
Add warning for future reference about named parameter bug
2017-12-05 23:03:09 +00:00
GrahamTheCoder
55265437af
Use Convert instead of Cast and update tests to reflect change
...
Sometimes cast does the right thing, but even when it does, the code here should have had parentheses
2017-12-05 23:03:08 +00:00
GrahamTheCoder
9b922946a7
Implement VB's implicit enumerables as implicit arrays (and enable test)
2017-12-05 23:03:04 +00:00
GrahamTheCoder
e588cacd11
Test change: Expected style closer to Visual Basic
2017-12-05 23:02:45 +00:00
GrahamTheCoder
131d453829
Escape identifiers with names matching predefined/primitive types
2017-12-05 23:02:44 +00:00
GrahamTheCoder
79c5ab3aac
Don't double-wrap Collection Initializers
...
Already done in VisitCollectionInitializer
2017-12-05 23:02:44 +00:00
GrahamTheCoder
92c928447a
Add parentheses required in C# for empty arg list
2017-12-05 23:02:44 +00:00
GrahamTheCoder
d6ec273e63
Implement synthesized property backing field accesses
2017-12-05 23:02:43 +00:00
GrahamTheCoder
b3949a2fb6
Add explicit accessibility where the default differs and fix tests
...
See https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/declaration-contexts-and-default-access-levels
https://visualstudiomagazine.com/articles/2016/07/07/default-access-levels-csharp-visual-basic.aspx
2017-12-05 23:02:43 +00:00
GrahamTheCoder
a8b8643305
Gets the right type of brackets for invocation or indexing more often
...
If it's wrong it'll virtually always be a compile error
2017-12-05 23:02:43 +00:00
GrahamTheCoder
33e0c3b428
Implement GetType as typeof
2017-12-05 22:53:32 +00:00
GrahamTheCoder
b7062a2062
Implement Global. as global::
2017-12-05 22:53:31 +00:00
GrahamTheCoder
f2294d382f
Implement End keyword as System.Environment.Exit(-1);
2017-12-05 22:53:31 +00:00
GrahamTheCoder
219cd632f1
Implement object collection initializers
2017-12-05 22:53:29 +00:00
GrahamTheCoder
397ccfb525
No longer throws exception on methods with a ParamsArray
2017-12-05 22:53:26 +00:00
GrahamTheCoder
db5ded4b2f
Implement AddHandler and RemoveHandler as += and -=
2017-12-05 22:53:26 +00:00
GrahamTheCoder
374a733cb3
Implement string concatenation assignment "&=" -> "+="
2017-12-05 22:41:23 +00:00
GrahamTheCoder
606e512b0e
Add error comment for "WithEvents" not being converted
2017-12-05 22:40:56 +00:00
GrahamTheCoder
191d1b8c22
Refactor: extract parameter
2017-12-05 22:40:52 +00:00
GrahamTheCoder
c68a6565b4
Convert VB only Date keyword to DateTime
2017-12-05 22:40:29 +00:00
GrahamTheCoder
076893bc55
Refactor: extract parameter
2017-12-05 21:05:39 +00:00
GrahamTheCoder
264440f981
Fix cast
2017-12-05 21:05:39 +00:00
Andreas Weizel
4feaa8746f
Updated version in AppVeyor manifest to 5.4.
2017-10-14 17:19:53 +02:00
Andreas Weizel
414fc32302
Adapted README.md, removed information about VS2015 variant and Gitter link.
2017-10-14 16:14:23 +02:00