-
Re: Finish LINQPad Dark Theme?
Thanks - I did not know about this API. Will add this to the next build. (View Post) -
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… (View Post) -
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 … (View Post) -
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… (View Post) -
Re: What is default accessibility modifier for struct Point in my code?
The short answer is that they are both private. So, in your scenario, you must add an internal or public modifier the Point type. The long answer is that LINQPad normally wraps your code in a class c… (View Post)