<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Compiler Error on Marko Apfel</title><link>http://blog.marko-apfel.de/tags/compiler-error/</link><description>Recent content in Compiler Error on Marko Apfel</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 01 Jul 2012 11:08:00 +0200</lastBuildDate><atom:link href="http://blog.marko-apfel.de/tags/compiler-error/index.xml" rel="self" type="application/rss+xml"/><item><title>Strange error “argument type ‘lambda expression’ is not assignable to parameter type ‘string’”</title><link>http://blog.marko-apfel.de/posts/strange-error-argument-type-lambda-expression-is-not-assignable-to-parameter-type-string/</link><pubDate>Sun, 01 Jul 2012 11:08:00 +0200</pubDate><guid>http://blog.marko-apfel.de/posts/strange-error-argument-type-lambda-expression-is-not-assignable-to-parameter-type-string/</guid><description>&lt;p&gt;During playing with EF and LINQ I run in this UI-error:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-txt" data-lang="txt"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;argument type ‘lambda expression’ is not assignable to parameter type ‘string’
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;a href="image_2.png"&gt;&lt;figure&gt;
 &lt;img src="http://blog.marko-apfel.de/posts/strange-error-argument-type-lambda-expression-is-not-assignable-to-parameter-type-string/image_thumb.png" alt="image" loading="lazy" decoding="async" title="image"&gt;&lt;figcaption&gt;image&lt;/figcaption&gt;&lt;/figure&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The Compiler themselves states:&lt;/p&gt;
&lt;p&gt;Cannot convert lambda expression to type &amp;lsquo;string&amp;rsquo; because it is not a delegate type.&lt;/p&gt;</description></item></channel></rss>