Dotsider.Core.Protocol
Classes
Section titled “Classes”Assembly identity and analysis capabilities exposed by protocol surfaces. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record AssemblyInfoPayload : IEquatable<AssemblyInfoPayload>Builds the shared assembly-information contract used by the CLI and MCP server. Centralizes the mapping from an analyzer into the public protocol shape. Keeps command-line and MCP responses consistent without reflection.
public static class AssemblyInfoPayloadBuilderOne single-file bundle manifest entry. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record BundleEntryPayload : IEquatable<BundleEntryPayload>Single-file bundle identity and total content size. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record BundleInfoPayload : IEquatable<BundleInfoPayload>A single-file bundle probe result. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record BundleProbePayload : IEquatable<BundleProbePayload>Bytes read from a binary at a requested offset. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record ByteRangePayload : IEquatable<ByteRangePayload>The current interactive view of a standard dotsider session. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record CurrentViewPayload : IEquatable<CurrentViewPayload>A dependency graph suitable for protocol and MCP responses. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record DependencyGraphPayload : IEquatable<DependencyGraphPayload>A live dotsider session discovered over its diagnostics socket. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record DiscoveredSessionPayload : IEquatable<DiscoveredSessionPayload>Source-generated JSON metadata for the dotsider diagnostics protocol. Registers every supported request, response, payload, and model contract. Supplies reflection-free serialization metadata to Native AOT applications.
[JsonSourceGenerationOptions(PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase, PropertyNameCaseInsensitive = true, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull)][JsonSerializable(typeof(DotsiderRequest))][JsonSerializable(typeof(DotsiderResponse))][JsonSerializable(typeof(JsonElement))][JsonSerializable(typeof(AssemblyDiffResult))][JsonSerializable(typeof(BundleManifest))][JsonSerializable(typeof(IReadOnlyList<AssemblyRefInfo>))][JsonSerializable(typeof(IReadOnlyList<CounterSnapshot>))][JsonSerializable(typeof(IReadOnlyList<CustomAttributeInfo>))][JsonSerializable(typeof(IReadOnlyList<FieldDefInfo>))][JsonSerializable(typeof(IReadOnlyList<MethodDefInfo>))][JsonSerializable(typeof(IReadOnlyList<OutputLine>))][JsonSerializable(typeof(IReadOnlyList<RecoveredType>))][JsonSerializable(typeof(IReadOnlyList<ResourceInfo>))][JsonSerializable(typeof(IReadOnlyList<SectionInfo>))][JsonSerializable(typeof(IReadOnlyList<TraceEventEntry>))][JsonSerializable(typeof(IReadOnlyList<TypeDefInfo>))][JsonSerializable(typeof(IReadOnlyList<TypeRefInfo>))][JsonSerializable(typeof(List<MethodDefInfo>))][JsonSerializable(typeof(List<RecoveredMethodPayload>))][JsonSerializable(typeof(List<MstatLargestMethodPayload>))][JsonSerializable(typeof(List<NativeSymbolLargestMethodPayload>))][JsonSerializable(typeof(List<IlLargestMethodPayload>))][JsonSerializable(typeof(ClrHeader))][JsonSerializable(typeof(CorrelationReport))][JsonSerializable(typeof(MethodDebugInfo))][JsonSerializable(typeof(NativeSymbolInfo))][JsonSerializable(typeof(PeHeaders))][JsonSerializable(typeof(ReadyToRunMethodReport))][JsonSerializable(typeof(SizeNode))][JsonSerializable(typeof(SourceLinkInfo))][JsonSerializable(typeof(TraceSummary))][JsonSerializable(typeof(MetadataMemberSearchPayload))][JsonSerializable(typeof(RecoveredMemberSearchPayload))][JsonSerializable(typeof(NativeAotInfoPayload))][JsonSerializable(typeof(NativeAotSectionsPayload))][JsonSerializable(typeof(MstatContributorsPayload))][JsonSerializable(typeof(MstatWhyPayload))][JsonSerializable(typeof(SizeDiffPayload))][JsonSerializable(typeof(SizeBudgetPayload))][JsonSerializable(typeof(WasmSummary))][JsonSerializable(typeof(WasmSectionsPayload))][JsonSerializable(typeof(WasmFunctionsPayload))][JsonSerializable(typeof(WebcilSummary))][JsonSerializable(typeof(AssemblyInfoPayload))][JsonSerializable(typeof(IlDisassemblyPayload))][JsonSerializable(typeof(List<IlSearchResultPayload>))][JsonSerializable(typeof(StringsPayload))][JsonSerializable(typeof(NativeDisassemblyPayload))][JsonSerializable(typeof(NativeSymbolAmbiguityPayload))][JsonSerializable(typeof(ReadyToRunAmbiguityPayload))][JsonSerializable(typeof(NuGetPackagePayload))][JsonSerializable(typeof(BundleInfoPayload))][JsonSerializable(typeof(List<BundleEntryPayload>))][JsonSerializable(typeof(List<DiscoveredSessionPayload>))][JsonSerializable(typeof(SessionInfoPayload))][JsonSerializable(typeof(TokenResolutionPayload))][JsonSerializable(typeof(DependencyGraphPayload))][JsonSerializable(typeof(MessagePayload))][JsonSerializable(typeof(OperationStatusPayload))][JsonSerializable(typeof(BundleProbePayload))][JsonSerializable(typeof(ByteRangePayload))][JsonSerializable(typeof(CurrentViewPayload))][JsonSerializable(typeof(ResolvedAssemblyInfo))]public sealed class DotsiderJsonContext : JsonSerializerContext, IJsonTypeInfoResolverConstants for the dotsider diagnostics protocol.
public static class DotsiderProtocolJSON request sent to a dotsider diagnostics socket.
public sealed class DotsiderRequestJSON response from a dotsider diagnostics socket.
public sealed class DotsiderResponseResult of resolving an assembly from the system .NET shared framework. Includes the full path and the runtime pack that provided it.
public sealed record FrameworkAssemblyInfo : IEquatable<FrameworkAssemblyInfo>IL and optional portable-PDB data for one method. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record IlDisassemblyPayload : IEquatable<IlDisassemblyPayload>A large IL method. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record IlLargestMethodPayload : IEquatable<IlLargestMethodPayload>Opcode matches within one method. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record IlSearchResultPayload : IEquatable<IlSearchResultPayload>A status or queued-operation message. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MessagePayload : IEquatable<MessagePayload>Metadata-backed member-search results. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MetadataMemberSearchPayload : IEquatable<MetadataMemberSearchPayload>A possible match for an ambiguous mstat query. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MstatCandidatePayload : IEquatable<MstatCandidatePayload>One Native AOT size contributor. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MstatContributorPayload : IEquatable<MstatContributorPayload>Native AOT size-contributor query results. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MstatContributorsPayload : IEquatable<MstatContributorsPayload>Filters applied to an mstat contributor query. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MstatFiltersPayload : IEquatable<MstatFiltersPayload>A large method reported by mstat. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MstatLargestMethodPayload : IEquatable<MstatLargestMethodPayload>A method identity extracted from an mstat entry. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MstatMethodPayload : IEquatable<MstatMethodPayload>Summary of an mstat source and its matching binary. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MstatSourceSummaryPayload : IEquatable<MstatSourceSummaryPayload>One dependency chain explaining a Native AOT size contributor. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MstatWhyChainPayload : IEquatable<MstatWhyChainPayload>Outcome of a Native AOT dependency explanation query. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record MstatWhyPayload : IEquatable<MstatWhyPayload>Native AOT identity and sidecar facts. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record NativeAotInfoPayload : IEquatable<NativeAotInfoPayload>Builds JSON-ready Native AOT payloads shared by direct MCP tools and the diagnostics session protocol, so the two transports return the same facts and error semantics.
public static class NativeAotPayloadBuilderA Native AOT module-section row. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record NativeAotSectionPayload : IEquatable<NativeAotSectionPayload>A Native AOT module-section inventory. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record NativeAotSectionsPayload : IEquatable<NativeAotSectionsPayload>Decoded native instructions for one symbol. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record NativeDisassemblyPayload : IEquatable<NativeDisassemblyPayload>An ambiguous native-symbol query. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record NativeSymbolAmbiguityPayload : IEquatable<NativeSymbolAmbiguityPayload>One candidate for an ambiguous native-symbol query. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record NativeSymbolCandidatePayload : IEquatable<NativeSymbolCandidatePayload>A large method reported by native symbols. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record NativeSymbolLargestMethodPayload : IEquatable<NativeSymbolLargestMethodPayload>A native-symbol method identity. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record NativeSymbolMethodPayload : IEquatable<NativeSymbolMethodPayload>NuGet package identity and managed payload files. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record NuGetPackagePayload : IEquatable<NuGetPackagePayload>A queued-operation status. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record OperationStatusPayload : IEquatable<OperationStatusPayload>Compact provenance for the managed inputs used to produce a Native AOT binary. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record PreIlcSummary : IEquatable<PreIlcSummary>An ambiguous ReadyToRun method query. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record ReadyToRunAmbiguityPayload : IEquatable<ReadyToRunAmbiguityPayload>Compact ReadyToRun image facts returned by assembly inspection. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record ReadyToRunSummary : IEquatable<ReadyToRunSummary>Recovered Native AOT member-search results. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record RecoveredMemberSearchPayload : IEquatable<RecoveredMemberSearchPayload>A recovered Native AOT method row. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record RecoveredMethodPayload : IEquatable<RecoveredMethodPayload>A recovered Native AOT type row. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record RecoveredTypePayload : IEquatable<RecoveredTypePayload>Serialization-safe representation of an assembly resolution result. Used in protocol and MCP responses where ResolvedAssembly cannot be serialized directly because bundle and module results contain raw bytes.
public sealed record ResolvedAssemblyInfo : IEquatable<ResolvedAssemblyInfo>Assembly and view state returned for one live session. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record SessionInfoPayload : IEquatable<SessionInfoPayload>Size-budget results for one mstat-backed input. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record SizeBudgetPayload : IEquatable<SizeBudgetPayload>Size differences between two mstat-backed inputs. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record SizeDiffPayload : IEquatable<SizeDiffPayload>Builds the serializable payloads the diff-size and check-size-budgets
surfaces return. The MCP server’s direct mode and the running-session protocol handler
both call these, so the two transports cannot drift apart in shape or semantics.
public static class SizeDiffPayloadBuilderAll string categories extracted from a binary. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record StringsPayload : IEquatable<StringsPayload>A metadata token resolution. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record TokenResolutionPayload : IEquatable<TokenResolutionPayload>A WebAssembly function row. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record WasmFunctionPayload : IEquatable<WasmFunctionPayload>A WebAssembly function inventory. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record WasmFunctionsPayload : IEquatable<WasmFunctionsPayload>Builds JSON-ready WebAssembly payloads shared by direct MCP tools, the CLI, and the
diagnostics session protocol. The payloads describe raw SDK-produced Wasm modules such as
dotnet.native.wasm, not ECMA-335 metadata assemblies.
public static class WasmPayloadBuilderA WebAssembly section row. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record WasmSectionPayload : IEquatable<WasmSectionPayload>A WebAssembly section inventory. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record WasmSectionsPayload : IEquatable<WasmSectionsPayload>Compact WebAssembly module facts. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record WasmSummary : IEquatable<WasmSummary>Builds JSON-ready Webcil payloads shared by CLI, MCP, and diagnostics session output. Webcil is a managed assembly container used in browser-wasm publishes, so the payload is provenance beside the normal metadata/IL facts rather than a separate native module view.
public static class WebcilPayloadBuilderCompact Webcil container facts. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.
public sealed record WebcilSummary : IEquatable<WebcilSummary>