Comments (5)
Also, there is still an error converting ref and out args that are infered from the params.
I advice to convert this project and see the errors.
SmallBasicLibrary.zip
from csharptovb.
Another error you will see in the project conversion:
DoubleAnimation doubleAnimation = new DoubleAnimation(num, end, new Duration(TimeSpan.FromMilliseconds(timespan)));
Will be:
Dim doubleAnimation1 As New DoubleAnimation(num, [end], New Duration(TimeSpan1.FromMilliseconds(timespan)))
TimeSpan is changed to TimeSpan1. Please check first that this is not a shared method invocation.
In fact, the one that should be changed is thetimespan
var sent as an argument.
from csharptovb.
And this one:
_applicationThread = new Thread((ThreadStart)delegate
{
Application application = new Application();
autoEvent.Set();
_application = application;
application.Run();
});
The converter added AddressOf b4 the lambda sub!
_applicationThread = New Thread(
CType(AddressOf Sub()
Dim application1 As New Application
autoEvent.[Set]()
_application = application1
application1.Run()
End Sub, ThreadStart))
And there is no need to the cast in VB.
from csharptovb.
@VBAndCs doing this as 1 issue is very difficult to track and address. I need 1 issue per error AND a before C# and after VB to make any progress.
from csharptovb.
@VBAndCs AddressOf is Fixed in converter 5.0.1.20. The last issue directly above is also fixed. The others need to be in separate issue to allow tracking. Look at Tests.Issues. This is what I need to be able to fix issue. Just providing snippets doesn't always show the issue.
from csharptovb.
Related Issues (20)
- Array () missing for converted types HOT 1
- Converting a string containing \" HOT 3
- False Alarm
- 'Record' conversion fail. HOT 1
- Compilation errors and runtime error HOT 10
- Project file not converted when convert solution HOT 4
- Problem with Is and = only when convert solution HOT 2
- About ++ or -- operator HOT 3
- DarkMode - Slight tweaks HOT 1
- Some bugs when converting C# snippets to Visual Basic HOT 1
- Fail to assign the right local variable Split from #74 HOT 7
- Custom events conversion issues HOT 4
- OverFlow Conversions HOT 3
- "Range Sugar" issue... HOT 1
- Please don't change public API names HOT 3
- Interface event definitions converted as "private" HOT 1
- Property and Interface issues HOT 5
- Pattern matching issues HOT 4
- Converting C# string literals to VB is missed up
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csharptovb.