Metalama.LinqPad
2026.0.20
Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Metalama.LinqPad --version 2026.0.20
NuGet\Install-Package Metalama.LinqPad -Version 2026.0.20
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Metalama.LinqPad" Version="2026.0.20" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Metalama.LinqPad" Version="2026.0.20" />
<PackageReference Include="Metalama.LinqPad" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Metalama.LinqPad --version 2026.0.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Metalama.LinqPad, 2026.0.20"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Metalama.LinqPad@2026.0.20
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Metalama.LinqPad&version=2026.0.20
#tool nuget:?package=Metalama.LinqPad&version=2026.0.20
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
The Metalama.LinqPad package allows you to load any C# project or solution into LINQPad and exposes its code model to queries. This package contains an optional driver, samples, and dumping methods.
Documentation
- Metalama.LinqPad conceptual documentation.
- Code model API documentation for APIs like
IDeclaration,INamedType,IMethod, ... - Introspection API documentation for APIs like
Workspace,Project,IIntrospectionAspectInstance,IIntrospectionAspectClass,IIntrospectionAspectDiagnostic, ...
Example
The following query lists all public methods in a project:
workspace
.SourceCode
.Methods
.Where( m => m.Accessibility == Accessibility.Public && m.DeclaringType.Accessibility == Accessibility.Public )
.GroupBy( m => m.DeclaringType.FullName )
.OrderBy( g => g.Key )
Related Packages
Metalama.Framework.Workspacesallows you to do code queries in arbitrary projects without LinqPad.Metalama.Framework.Instrospectionexposes concepts like likeWorkspace,Project,IIntrospectionAspectInstance,IIntrospectionAspectClass,IIntrospectionAspectDiagnostic, ...Metalama.Frameworkexposes the basic code model in theMetalama.Framework.Codenamespace.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-windows7.0
- LINQPad.Reference (>= 1.4.0-preview.1)
- Metalama.Extensions.Metrics (>= 2026.0.20)
- Metalama.Framework.Sdk (>= 2026.0.20)
- Metalama.Framework.Workspaces (>= 2026.0.20)
- Microsoft.Extensions.Logging (>= 8.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1.7-preview | 30 | 3/31/2026 |
| 2026.1.6-preview | 135 | 3/28/2026 |
| 2026.1.5-preview | 33 | 3/26/2026 |
| 2026.1.4-preview | 40 | 3/22/2026 |
| 2026.1.3-preview | 39 | 3/7/2026 |
| 2026.1.2-preview | 50 | 2/11/2026 |
| 2026.1.1-preview | 52 | 2/5/2026 |
| 2026.1.0-preview | 52 | 2/1/2026 |
| 2026.0.20 | 40 | 3/25/2026 |
| 2026.0.19 | 43 | 3/24/2026 |
| 2026.0.18 | 48 | 3/21/2026 |
| 2026.0.17 | 52 | 3/12/2026 |
| 2026.0.16 | 103 | 1/24/2026 |
| 2026.0.15 | 80 | 1/14/2026 |
| 2026.0.14 | 71 | 1/13/2026 |
| 2026.0.13 | 71 | 1/12/2026 |
| 2026.0.12 | 80 | 1/9/2026 |
| 2026.0.11 | 83 | 1/5/2026 |
| 2026.0.10-rc | 204 | 12/19/2025 |
| 2026.0.9-rc | 88 | 12/12/2025 |
Loading failed