icsharpcode / CodeConverter

Convert code from C# to VB.NET and vice versa using Roslyn
https://icsharpcode.github.io/CodeConverter/
MIT License
795 stars 207 forks source link

Upgrade Azure Function to .NET 8 #1079

Closed christophwille closed 5 months ago

christophwille commented 5 months ago

Implement #1042

GrahamTheCoder commented 5 months ago

Nice one, I was just thinking about this having upgraded some other projects I work on yesterday

christophwille commented 5 months ago

@GrahamTheCoder any ideas why a unit test would fail although I didn't touch them at all? Locally in VS the unit tests run just fine.

GrahamTheCoder commented 5 months ago

I think there is a bit of non-determinism in the roslyn simplifier (or possibly it's hitting a timeout). It on rare occasions just decides to leave "global" on a few bits on one of the outputs. I've never spotted a pattern to when it happens and running again always fixes.