-
Re: Collection expressions confusion
It's possible that this has been fixed in more recent Roslyn builds. LINQPad uses the latest stable Roslyn RTM, for which C# 12 is still technically in preview status. LINQPad will use the newer Rosl…1 · -
Re: Finish LINQPad Dark Theme?
Thanks - I did not know about this API. Will add this to the next build.1 · -
Re: What is default accessibility modifier for struct Point in my code?
The types accessibility will remain internal (the default). LINQPad does not change the accessibility of any of your types. I don't think 4.59 supports the nonest option, nor the ability to define na…1 · -
Re: What is default accessibility modifier for struct Point in my code?
Also, in LINQPad 7/8, you can disable all auto-magic as follows, if you want to investigate C#'s normal accessibility rules without nested types: namespace Test{ class Foo { static void Main() { new …1 · -
Re: What is default accessibility modifier for struct Point in my code?
Ah, you must be running LINQPad 5. This is more heavy-handed, and will also extract the Point struct in this scenario (because it's required by your extension method). This is why you've ended up wit…1 ·