We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sub Main() Dim words As String() = {"abc", "defgh", "ijklm"} Dim word As String = "test" Dim count As Integer = words.Count(Function(w) w.Length > word.Length) Console.WriteLine(count) End Sub
ILSpy:
[STAThread] public static void Main() { _Closure$__1 closure$__ = new _Closure$__1(); string[] words = new string[3] { "abc", "defgh", "ijklm" }; closure$__.$VB$Local_word = "test"; string[] source = words; object obj; int count = source.Count((string w) => w.Length > ((_Closure$__1)obj).$VB$Local_word.Length); Console.WriteLine(count); }
dnSpy:
[STAThread] public static void Main() { string[] words = new string[] { "abc", "defgh", "ijklm" }; string word = "test"; int count = words.Count((string w) => w.Length > word.Length); Console.WriteLine(count); }
The text was updated successfully, but these errors were encountered:
3a7c69e
1.zip @siegfriedpammer There's another VB.NET closure which can't decompile, such as Program.Main LoginForm.smethod_0
Program.Main
LoginForm.smethod_0
Sorry, something went wrong.
Fix icsharpcode#2192: Add support for VB.NET delegate construction
9e587eb
No branches or pull requests
ILSpy:
dnSpy:
The text was updated successfully, but these errors were encountered: