Metalama.LinqPad 2026.0.20

Prefix Reserved
There is a newer prerelease version of this package available.
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" />
                    
Directory.Packages.props
<PackageReference Include="Metalama.LinqPad" />
                    
Project file
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
                    
#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
                    
Install as a Cake Addin
#tool nuget:?package=Metalama.LinqPad&version=2026.0.20
                    
Install as a Cake Tool

Metalama Logo

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

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 )
  • Metalama.Framework.Workspaces allows you to do code queries in arbitrary projects without LinqPad.
  • Metalama.Framework.Instrospection exposes concepts like like Workspace, Project, IIntrospectionAspectInstance, IIntrospectionAspectClass, IIntrospectionAspectDiagnostic, ...
  • Metalama.Framework exposes the basic code model in the Metalama.Framework.Code namespace.
Product 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.

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.8-preview 27 4/13/2026
2026.1.7-preview 48 3/31/2026
2026.1.6-preview 139 3/28/2026
2026.1.5-preview 36 3/26/2026
2026.1.4-preview 44 3/22/2026
2026.1.3-preview 44 3/7/2026
2026.1.2-preview 51 2/11/2026
2026.1.1-preview 54 2/5/2026
2026.1.0-preview 55 2/1/2026
2026.0.20 63 3/25/2026
2026.0.19 48 3/24/2026
2026.0.18 52 3/21/2026
2026.0.17 56 3/12/2026
2026.0.16 111 1/24/2026
2026.0.15 83 1/14/2026
2026.0.14 74 1/13/2026
2026.0.13 74 1/12/2026
2026.0.12 83 1/9/2026
2026.0.11 89 1/5/2026
2026.0.10-rc 205 12/19/2025
Loading failed