Extremely Fast MessagePack Serializer for C#(.NET, .NET Core, Unity, Xamarin). / msgpack.org[C#]
This report summarizes scanner evidence for MessagePack-CSharp/MessagePack-CSharp, a C# project with 6,810 GitHub stars. SynthScan examined 102,037 lines of code across 758 source files, recording 175 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 2.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 170 finding(s).
Are imports declared and package/API names verified? 5 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 175 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 175 distinct pattern matches across 5 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ark/SerializerBenchmark/Serializers/HagarSerializer.cs | 1 | // Copyright (c) All contributors. All rights reserved. | COMMENT |
| LOW | …ark/SerializerBenchmark/Serializers/HagarSerializer.cs | 21 | //// .AddSerializers(typeof(Hagar_).Assembly) // this assembly | COMMENT |
| LOW | …ark/SerializerBenchmark/Serializers/HagarSerializer.cs | 41 | //// } | COMMENT |
| LOW | tests/MessagePack.Tests/ByteArrayStringHashTableTest.cs | 21 | COMMENT | |
| LOW | tests/MessagePack.Tests/ByteArrayStringHashTableTest.cs | 41 | COMMENT | |
| LOW | tests/MessagePack.Tests/NewGuidFormatterTest.cs | 21 | ////{ | COMMENT |
| LOW | sandbox/DynamicCodeDumper/Program.cs | 41 | ////DynamicObjectResolver.Instance.GetFormatter<Version1>(); | COMMENT |
| LOW | sandbox/DynamicCodeDumper/Program.cs | 381 | //// { | COMMENT |
| LOW | sandbox/DynamicCodeDumper/Program.cs | 401 | COMMENT | |
| LOW | sandbox/DynamicCodeDumper/Program.cs | 421 | //// } | COMMENT |
| LOW | sandbox/DynamicCodeDumper/Program.cs | 441 | //// } | COMMENT |
| LOW | …ck.Experimental/HardwareIntrinsics/FormatterHelpers.cs | 121 | Sse2.MaskMove(src, mask, dest); | COMMENT |
| LOW | src/MessagePack.Annotations/AnalyzerAttributes.cs | 1 | // Copyright (c) All contributors. All rights reserved. | COMMENT |
| LOW | src/MessagePack.Annotations/Attributes.cs | 21 | /// </summary> | COMMENT |
| LOW | src/MessagePack.Annotations/Attributes.cs | 41 | /// will generate a formatter at runtime instead. | COMMENT |
| LOW | src/MessagePack.Annotations/Attributes.cs | 81 | } | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 41 | /// <summary> | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 141 | return true; | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 181 | /// <param name="bytesWritten">The number of bytes required to write the value, whether successful or not.</param> | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 201 | COMMENT | |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 241 | case >= sbyte.MinValue: return TryWriteInt8(destination, unchecked((sbyte)value), out bytesWritten); | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 341 | return true; | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 361 | { | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 401 | /// <param name="bytesWritten">The number of bytes required to write the value, whether successful or not.</param> | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 421 | } | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 481 | default: | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 521 | return TryWriteUInt16(destination, unchecked((ushort)value), out bytesWritten); | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 581 | COMMENT | |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 601 | } | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 661 | /// Writes a double-precision floating-point value to the specified buffer, if the buffer is large enough. | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 701 | return false; | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 721 | public static bool TryWrite(Span<byte> destination, char value, out int bytesWritten) => TryWrite(destination, (usho | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 881 | destination[0] = MessagePackCode.Bin32; | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 941 | return false; | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 1021 | } | COMMENT |
| LOW | src/MessagePack/MessagePackPrimitives.Writers.cs | 1141 | COMMENT | |
| LOW | src/MessagePack/MessagePackSerializerOptions.cs | 101 | /// </summary> | COMMENT |
| LOW | src/MessagePack/MessagePackSerializerOptions.cs | 121 | /// </summary> | COMMENT |
| LOW | src/MessagePack/MessagePackSerializerOptions.cs | 141 | public bool? OldSpec { get; private set; } | COMMENT |
| LOW | src/MessagePack/MessagePackSerializerOptions.cs | 181 | { | COMMENT |
| LOW | src/MessagePack/MessagePackSerializerOptions.cs | 401 | /// <exception cref="TypeAccessException">Thrown if the <paramref name="type"/> is not allowed to be deserialize | COMMENT |
| LOW | src/MessagePack/BufferWriter.cs | 21 | /// </summary> | COMMENT |
| LOW | src/MessagePack/MessagePackSerializer+Typeless.cs | 21 | { | COMMENT |
| LOW | src/MessagePack/MessagePackStreamReader.cs | 61 | this.sequenceRental = sequencePool.Rent(); | COMMENT |
| LOW | src/MessagePack/SequenceReader.cs | 21 | private bool usingSequence; | COMMENT |
| LOW | src/MessagePack/CompositeResolverAttribute.cs | 21 | /// </summary> | COMMENT |
| LOW | src/MessagePack/MessagePackSerializer.cs | 21 | private static MessagePackSerializerOptions? defaultOptions; | COMMENT |
| LOW | src/MessagePack/MessagePackSerializer.cs | 41 | /// <summary> | COMMENT |
| LOW | src/MessagePack/MessagePackSerializer.cs | 201 | /// </summary> | COMMENT |
| LOW | src/MessagePack/MessagePackSerializer.cs | 261 | /// <typeparam name="T">The type of value to deserialize.</typeparam> | COMMENT |
| LOW | src/MessagePack/MessagePackSerializer.cs | 281 | /// <param name="bytesRead">The number of bytes read.</param> | COMMENT |
| LOW | src/MessagePack/MessagePackSerializer.cs | 301 | CancellationToken = cancellationToken, | COMMENT |
| LOW | src/MessagePack/MessagePackSerializer.cs | 361 | /// <param name="stream"> | COMMENT |
| LOW | src/MessagePack/MessagePackWriter.cs | 81 | /// <summary> | COMMENT |
| LOW | src/MessagePack/MessagePackWriter.cs | 121 | /// <see cref="MessagePackCode.Array16"/>, or | COMMENT |
| LOW | src/MessagePack/MessagePackWriter.cs | 141 | COMMENT | |
| LOW | src/MessagePack/MessagePackWriter.cs | 221 | COMMENT | |
| LOW | src/MessagePack/MessagePackWriter.cs | 301 | Span<byte> span = this.writer.GetSpan(5); | COMMENT |
| LOW | src/MessagePack/MessagePackWriter.cs | 341 | /// <see cref="MessagePackCode.UInt64"/>, | COMMENT |
| LOW | src/MessagePack/MessagePackWriter.cs | 481 | this.WriteBinHeader(length); | COMMENT |
| 102 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …essagePack.SourceGenerator/Transforms/UnionTemplate.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …gePack.SourceGenerator/Transforms/FormatterTemplate.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …ourceGenerator/Transforms/CompositeResolverTemplate.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …MessagePack.SourceGenerator/Transforms/EnumTemplate.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …agePack.SourceGenerator/Transforms/ResolverTemplate.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | …tor/Transforms/StringKey/StringKeyFormatterTemplate.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/MessagePack/MessagePackWriter.cs | 729 | byte[] result = this.writer.SequenceRental.Value.AsReadOnlySequence.ToArray(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …etCoreMvcFormatter.Tests/AspNetCoreMvcFormatterTest.cs | 43 | Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | CODE |
| LOW | …etCoreMvcFormatter.Tests/AspNetCoreMvcFormatterTest.cs | 43 | Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | CODE |
| LOW | …etCoreMvcFormatter.Tests/AspNetCoreMvcFormatterTest.cs | 119 | Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | CODE |
| LOW | …etCoreMvcFormatter.Tests/AspNetCoreMvcFormatterTest.cs | 119 | Description = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/_clean-packagejson-branch.yaml | 27 | # Check if the branch is the default branch | COMMENT |
| LOW | .github/workflows/_clean-packagejson-branch.yaml | 33 | # Check if the branch is created by github-actions[bot] | COMMENT |