Metalama.LinqPad
2026.0.16
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.16
NuGet\Install-Package Metalama.LinqPad -Version 2026.0.16
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.16" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Metalama.LinqPad" Version="2026.0.16" />
<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.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Metalama.LinqPad, 2026.0.16"
#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.16
#: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.16
#tool nuget:?package=Metalama.LinqPad&version=2026.0.16
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.16)
- Metalama.Framework.Sdk (>= 2026.0.16)
- Metalama.Framework.Workspaces (>= 2026.0.16)
- 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.2-preview | 39 | 2/11/2026 |
| 2026.1.1-preview | 42 | 2/5/2026 |
| 2026.1.0-preview | 44 | 2/1/2026 |
| 2026.0.16 | 76 | 1/24/2026 |
| 2026.0.15 | 68 | 1/14/2026 |
| 2026.0.14 | 58 | 1/13/2026 |
| 2026.0.13 | 59 | 1/12/2026 |
| 2026.0.12 | 66 | 1/9/2026 |
| 2026.0.11 | 72 | 1/5/2026 |
| 2026.0.10-rc | 195 | 12/19/2025 |
| 2026.0.9-rc | 76 | 12/12/2025 |
| 2026.0.8-rc | 389 | 12/9/2025 |
| 2026.0.7-rc | 152 | 12/4/2025 |
| 2026.0.6-rc | 90 | 11/28/2025 |
| 2026.0.5-preview | 233 | 11/12/2025 |
| 2026.0.4-preview | 94 | 11/8/2025 |
| 2026.0.3-preview | 146 | 10/30/2025 |
| 2026.0.2-preview | 131 | 10/7/2025 |
| 2025.1.17 | 419 | 12/9/2025 |
| 2025.1.16 | 195 | 10/22/2025 |
Loading failed