This is a migrated thread and some comments may be shown as answers.

Lambda Expressions Not Working

1 Answer 93 Views
Code Converter
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Slepeyhead
Top achievements
Rank 1
Slepeyhead asked on 03 Apr 2008, 04:21 AM
Awesome tool! Bombs on lambda expressions:

C#:

KeyValuePair<string, string> match = parentSource.TableNameReplacement.FirstOrDefault( entry => m_metaTable.TableName.Contains(entry.Key));

VB:

Dim

match As KeyValuePair(Of String, String) = parentSource.TableNameReplacement.FirstOrDefault(Function(Entry) m_metaTable.TableName.Contains(Entry.Key))


Thanks!

1 Answer, 1 is accepted

Sort by
0
Todd Anglin
Top achievements
Rank 2
answered on 04 Apr 2008, 03:23 AM
Slepey-

Thanks for reporting the issue. This is actually a "problem" with the underlying engine that powers the converter's conversions, NRefactory. NRefactory is an open source project run by the guys over at SharpDevelop, and in general we try to use their latest builds to deliver conversion support (vs. building our own custom fixes). Try reporting your issue on their forums at the following URL to see if they can fix the core engine:

http://community.sharpdevelop.net/forums/

Hope that helps!
-Todd
Tags
Code Converter
Asked by
Slepeyhead
Top achievements
Rank 1
Answers by
Todd Anglin
Top achievements
Rank 2
Share this question
or