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

Lamda expression generate "unknown type" errors

1 Answer 37 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sergey
Top achievements
Rank 1
Sergey asked on 06 May 2011, 05:49 PM
Here is an exmaple

 HandleSomething(c.View, b =>
                            {
                                if (e.Callback != null)
                                {
                                    e.Cancel = !b;
                                    e.Callback();
                                }
                            }, false);
b is a boolean in this case.

Thanks
Sergey

1 Answer, 1 is accepted

Sort by
0
Stefan Avramov
Telerik team
answered on 12 May 2011, 10:06 AM
Hello Sergey,

 Thanks for the feedback. It seems JustCode recognizes the types in that sample. There must be something more specific in your case. Can you send us a small project illustrating the issue? We would much appreciate it.

Greetings,
Stefan Avramov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Code Analysis
Asked by
Sergey
Top achievements
Rank 1
Answers by
Stefan Avramov
Telerik team
Share this question
or