We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following LINQPad program query:
void Main() { Print(NestedClass.StaticMethod ); Print(NestedStruct.StaticMethod ); Print(NestedStaticClass.StaticMethod); Print(default(object).Extension ); Print(Extensions.StaticMethod ); } static void Print(Action a) => Console.WriteLine($"{a.Method.DeclaringType.FullName}::{a.Method.Name}"); struct NestedStruct { public static void StaticMethod() {} } class NestedClass { public static void StaticMethod() {} } static class NestedStaticClass { public static void StaticMethod() {} } static class Extensions { public static void StaticMethod() {} public static void Extension<T>(this T _) {} }
displays the following in LINQPad (tested with version 6):
UserQuery+NestedClass::StaticMethod UserQuery+NestedStruct::StaticMethod UserQuery+NestedStaticClass::StaticMethod Extensions::Extension Extensions::StaticMethod
When run with LINQPadless, this produces:
NestedClass::StaticMethod NestedStruct::StaticMethod NestedStaticClass::StaticMethod Extensions::Extension Extensions::StaticMethod
Tested with version at 27c3fb6.
The text was updated successfully, but these errors were encountered:
ad118b2
Test that type declarations go where they should at run-time
bc01e71
This highlighted a bug in LINQPadless (atifaziz/LinqPadless#30) and exercises the fix[1]. [1]: atifaziz/LinqPadless@ad118b2
atifaziz
No branches or pull requests
The following LINQPad program query:
displays the following in LINQPad (tested with version 6):
When run with LINQPadless, this produces:
Tested with version at 27c3fb6.
The text was updated successfully, but these errors were encountered: