Bernd Baumanns

Results 57 comments of Bernd Baumanns

I observed this in a recursive function called with runtime data which can't be inlined (and was not inlined). The overall impact is enormous. With pure native types this function...

The string interpolation is handled internally as collection-expression conversion to a readonly span (a debug assert is also triggered). This is okay only in non expression trees. Currently: `System.String! System.String.Format(System.String!...

The collection-conversion comes to play at (here we lower and assume overload resolution to pick the right one): https://github.com/dotnet/roslyn/blob/3a3c108d86c3cbb00049bfc4f5f9a04a42fa4b1b/src/Compilers/CSharp/Portable/Lowering/LocalRewriter/LocalRewriter_StringInterpolation.cs#L354 This is great because we have multiple overloads, with and without...

Unable to reproduce your issue - how do you execute "run tests/RoslynNreRepro/RoslynNreRepro.csproj".