Bernd Baumanns

Results 57 comments of Bernd Baumanns

I compiled the following code with mcs / mono (Mono C# compiler version 6.12.0.182). The result is similar to roslyn (Select is not omitted for `Test1` but for `Test2`): Source:...

@KalleOlaviNiemitalo I think the emitting of `Select` is correct in your sample because of: [degenerate-query-expressions](https://github.com/dotnet/csharpstandard/blob/draft-v7/standard/expressions.md#111834-degenerate-query-expressions)

That is my point. That is not really a contradiction, but current compilers do not recognize the method-syntax in expression `e` as part of the query... This works only for...

Therefore I think just the sample needs to be corrected from: ``` from c in customers.Where(c => c.City == "London") select c is simply translated into (customers).Where(c => c.City ==...

> Is there anything in the spec that says they should? The sample which I refer to says that: ```csharp from c in customers.Where(c => c.City == "London") select c...

When I execute `sl run` I get the message (from [webapp-server](http://127.0.0.1:8000/services/webapp-server)) ``` Application startup failed: could not load index.html from the assets storage. ``` In the console output I see:...

I got it: `comp.WithReferences(Net50.References.All)`. In my eyes it would be better to introduce a new "SupportedOnly.BasicReferenceAssemblies".

I just mean that it would better to have a separate package which is smaller and contains only supported APIs instead of introducing a breaking change...

@YairHalberstadt How do you do that? AFAIK you can only add code - but not change or remove user written code with source generators. Is that not true anymore?

The problem is, that a foreach variable is "readonly". The subroutine is not allowed to change the struct. So we must submit the reference via readonly ref which is called...