.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
This report summarizes scanner evidence for icsharpcode/ILSpy, a C# project with 26,522 GitHub stars. SynthScan examined 419,290 lines of code across 2003 source files, recording 2310 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 6.2 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 2282 finding(s).
Are imports declared and package/API names verified? 28 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 2310 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 2310 distinct pattern matches across 7 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 | ICSharpCode.ILSpyCmd/ValidationAttributes.cs | 1 | // Copyright (c) 2019 Christoph Wille | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/InputFileLoader.cs | 1 | // Copyright (c) 2026 Siegfried Pammer | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs | 1 | // Copyright (c) 2019 Christoph Wille | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs | 1001 | /// Resolves a type name supplied on the command line to a single type definition. | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/BamlAwareWholeProjectDecompiler.cs | 1 | // Copyright (c) 2026 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/ResourceExtensions.cs | 1 | // Copyright (c) 2026 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/TypesParser.cs | 1 | // Copyright (c) 2017 Christoph Wille | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/DotNetToolUpdateChecker.cs | 1 | // Copyright (c) 2023 Christoph Wille | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/ProgramExitCodes.cs | 1 | // Copyright (c) 2019 Christoph Wille | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/ILAstDumper.cs | 1 | // Copyright (c) 2026 Siegfried Pammer | COMMENT |
| LOW | ICSharpCode.ILSpyCmd/Properties/AssemblyInfo.cs | 1 | // Copyright (c) 2011 Daniel Grunwald | COMMENT |
| LOW | ILSpy.ReadyToRun/ReadyToRunOptionsViewModel.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ILSpy.ReadyToRun/ReadyToRunOptionsView.axaml.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ILSpy.ReadyToRun/ReadyToRunDisassembler.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ILSpy.ReadyToRun/ReadyToRunLanguage.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ILSpy.ReadyToRun/ReadyToRunOptions.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ILSpy.ReadyToRun/Properties/AssemblyInfo.cs | 1 | // Copyright (c) 2019 Andrew Au | COMMENT |
| LOW | ILSpy.ReadyToRun/Properties/Resources.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | ICSharpCode.ILSpyX/AssemblyListManager.cs | 1 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/LoadedPackage.cs | 1 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/ApiVisibility.cs | 1 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/LanguageVersion.cs | 1 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/LoadedAssembly.cs | 1 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/LoadedAssembly.cs | 41 | /// <summary> | COMMENT |
| LOW | ICSharpCode.ILSpyX/LoadedAssembly.cs | 61 | /// </summary> | COMMENT |
| LOW | ICSharpCode.ILSpyX/LoadedAssembly.cs | 141 | /// Returns the effective target framework identifier in the form '<framework>,Version=v<version>'. | COMMENT |
| LOW | ICSharpCode.ILSpyX/LoadedAssembly.cs | 381 | /// </summary> | COMMENT |
| LOW | ICSharpCode.ILSpyX/LoadedAssembly.cs | 641 | ILSpyXEventSource.Log.AssemblyResolveStop(reference, outcome); | COMMENT |
| LOW | ICSharpCode.ILSpyX/LoadedAssemblyExtensions.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ICSharpCode.ILSpyX/AssemblyList.cs | 1 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/AssemblyList.cs | 421 | lock (lockObj) | COMMENT |
| LOW | ICSharpCode.ILSpyX/AssemblyListSnapshot.cs | 1 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/Settings/ISettingsProvider.cs | 1 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/Settings/ILSpySettings.cs | 1 | // Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/Settings/DecompilerSettings.cs | 1 | // Copyright (c) 2024 Tom Englert | COMMENT |
| LOW | ICSharpCode.ILSpyX/Settings/SettingsServiceBase.cs | 1 | // Copyright (c) 2024 Tom Englert | COMMENT |
| LOW | ICSharpCode.ILSpyX/Settings/MutexProtector.cs | 1 | // Copyright (c) 2026 AlphaSierraPapa for the SharpDevelop Team | COMMENT |
| LOW | ICSharpCode.ILSpyX/Analyzers/AnalyzerContext.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ICSharpCode.ILSpyX/Analyzers/AnalyzerHelpers.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ICSharpCode.ILSpyX/Analyzers/IAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ICSharpCode.ILSpyX/Analyzers/IAnalyzer.cs | 21 | using ICSharpCode.Decompiler.TypeSystem; | COMMENT |
| LOW | ICSharpCode.ILSpyX/Analyzers/AnalyzerScope.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ICSharpCode.ILSpyX/Analyzers/ExportAnalyzerAttribute.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | ….ILSpyX/Analyzers/Builtin/EventOverriddenByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …ILSpyX/Analyzers/Builtin/TypeInstantiatedByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …ILSpyX/Analyzers/Builtin/MethodOverriddenByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …LSpyX/Analyzers/Builtin/MethodVirtualUsedByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …Code.ILSpyX/Analyzers/Builtin/TypeExposedByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …Analyzers/Builtin/MemberImplementsInterfaceAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …ILSpyX/Analyzers/Builtin/FindTypeInAttributeDecoder.cs | 1 | // Copyright (c) 2022 Siegfried Pammer | COMMENT |
| LOW | …arpCode.ILSpyX/Analyzers/Builtin/MethodUsesAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …ILSpyX/Analyzers/Builtin/EventImplementedByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …pCode.ILSpyX/Analyzers/Builtin/MethodUsedByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …de.ILSpyX/Analyzers/Builtin/MemberOverridesAnalyzer.cs | 1 | // Copyright (c) 2026 Siegfried Pammer | COMMENT |
| LOW | …pyX/Analyzers/Builtin/PropertyImplementedByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …rpCode.ILSpyX/Analyzers/Builtin/FieldAccessAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …ILSpyX/Analyzers/Builtin/AttributeAppliedToAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …arpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| LOW | …arpCode.ILSpyX/Analyzers/Builtin/TypeUsedByAnalyzer.cs | 61 | { | COMMENT |
| LOW | …SpyX/Analyzers/Builtin/PropertyOverriddenByAnalyzer.cs | 1 | // Copyright (c) 2018 Siegfried Pammer | COMMENT |
| 2213 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | ICSharpCode.ILSpyX/Search/CSharpLexer.cs | 278 | // Debug.WriteLine(ICSharpCode.NRefactory.Parser.CSharp.Tokens.GetTokenString(curToken.kind) + " -- " + curToken.val | COMMENT |
| CRITICAL | ICSharpCode.ILSpyX/Search/CSharpLexer.cs | 290 | // Debug.WriteLine(ICSharpCode.NRefactory.Parser.CSharp.Tokens.GetTokenString(curToken.kind) + " -- " + curToken.val | COMMENT |
| CRITICAL | ILSpy.AddIn.VS2022/Utils.cs | 178 | viewHost.TextView.TextDataModel.DocumentBuffer.Properties.TryGetProperty(typeof(ITextDocument), out textDocument); | CODE |
| CRITICAL | …Code.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs | 62 | var entrypoint = System.Reflection.Metadata.Ecma335.MetadataTokens.MethodDefinitionHandle(module.CorHeader?.EntryPoin | CODE |
| CRITICAL | …Code.Decompiler/IL/ControlFlow/AsyncAwaitDecompiler.cs | 68 | var entrypoint = System.Reflection.Metadata.Ecma335.MetadataTokens.MethodDefinitionHandle(module.CorHeader?.EntryPoin | CODE |
| CRITICAL | …ecompiler.Tests/Documentation/IdStringProviderTests.cs | 1766 | "M:DeepNesting.Level1.Level2.Level3.Level4.DeepMethod(System.Int32)"); | STRING |
| CRITICAL | ICSharpCode.Decompiler.Tests/Output/ILAmbienceTests.cs | 288 | [TestCase(StandardConversionFlags, ".property instance int32 ICSharpCode.Decompiler.Tests.Output.Interface.Item(int32 | CODE |
| CRITICAL | ICSharpCode.Decompiler.Tests/Output/ILAmbienceTests.cs | 289 | [TestCase(ILSpyMainTreeViewMemberFlags, "ICSharpCode.Decompiler.Tests.Output.Interface.Item(int32) : int32")] | CODE |
| CRITICAL | …arpCode.Decompiler.Tests/TestCases/Pretty/Issue1080.cs | 18 | ICSharpCode.Decompiler.Tests.TestCases.Pretty.Issue1080.SpaceC.Extensions.Extension(type); | CODE |
| CRITICAL | …Tests/TestCases/Pretty/VariableNamingWithoutSymbols.cs | 110 | brush = new ICSharpCode.Decompiler.Tests.TestCases.Pretty.First.Brush(); | CODE |
| CRITICAL | …Tests/TestCases/Pretty/VariableNamingWithoutSymbols.cs | 116 | brush2 = new ICSharpCode.Decompiler.Tests.TestCases.Pretty.Second.Brush(); | CODE |
| CRITICAL | ILSpy/ViewModels/MetadataTablePageModel.cs | 209 | if (!ICSharpCode.ILSpy.Metadata.Filters.CompiledFilter.Compile(flagsState).Matches(actual)) | CODE |
| CRITICAL | ILSpy/TreeNodes/AssemblyTreeNode.cs | 631 | _ => file.Reader.PEHeaders.CoffHeader.Machine.ToString(), | CODE |
| CRITICAL | ILSpy/Metadata/MetadataColumnBuilder.cs | 335 | var schema = ICSharpCode.ILSpy.Metadata.Filters.FlagsSchemaInferer.For(enumType); | CODE |
| CRITICAL | ILSpy/Metadata/MetadataColumnBuilder.cs | 405 | ICSharpCode.ILSpy.Metadata.Filters.FilterStatePersistence.ApplyXml(state, savedXml); | CODE |
| CRITICAL | ILSpy/Metadata/MetadataColumnBuilder.cs | 411 | settings.FilterStates[key] = ICSharpCode.ILSpy.Metadata.Filters.FilterStatePersistence.ToXml(state); | CODE |
| CRITICAL | ILSpy.Tests/EntityReferenceResolveTests.cs | 63 | System.Reflection.Metadata.Ecma335.MetadataTokens.TypeDefinitionHandle(2)); | CODE |
| CRITICAL | …Tests/AssemblyTree/NavigateToReferenceAssemblyTests.cs | 45 | const string TargetId = "M:ICSharpCode.ILSpy.Tests.AssemblyTree.NavigateToReferenceAssemblyTests.TargetMember(System.St | CODE |
| CRITICAL | ILSpy.Tests/Bookmarks/BookmarkAnchoringTests.cs | 80 | fallback.Token.Should().Be((uint)System.Reflection.Metadata.Ecma335.MetadataTokens.GetToken(type.MetadataToken)); | CODE |
| CRITICAL | ILSpy.Tests/Bookmarks/BookmarkNavigationViewTests.cs | 104 | view.Editor.TextArea.Caret.Line.Should().Be(targetLine, | CODE |
| CRITICAL | ILSpy.Tests/Bookmarks/BookmarkNavigationViewTests.cs | 168 | activeView.Editor.TextArea.Caret.Line.Should().Be(targetLine, | CODE |
| CRITICAL | ILSpy.Tests/Bookmarks/BookmarkNavigationViewTests.cs | 221 | view.Editor.TextArea.Caret.Line.Should().Be(targetLine, | CODE |
| CRITICAL | ILSpy.Tests/Metadata/MetadataFilterTests.cs | 172 | new(ICSharpCode.ILSpy.Metadata.Filters.FlagsSchemaInferer.For(typeof(SampleFlags))); | CODE |
| CRITICAL | ILSpy.Tests/Editor/MarginPointerTests.cs | 83 | view.Editor.TextArea.Selection.IsEmpty.Should().BeTrue("a middle press on the line numbers must not select the line"); | CODE |
| CRITICAL | ILSpy.Tests/Editor/FoldingGroupTests.cs | 77 | <member name="M:ICSharpCode.ILSpy.Tests.TextView.FoldGroupSample.Documented(System.Int32)"> | CODE |
| CRITICAL | ILSpy.Tests/Editor/ReferenceClickTests.cs | 100 | view.Editor.TextArea.Selection.IsEmpty.Should().BeFalse( | CODE |
| CRITICAL | ILSpy.Tests/Editor/ReferenceClickTests.cs | 175 | view.Editor.TextArea.Selection.IsEmpty.Should().BeTrue( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ILSpy.ReadyToRun/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | ILSpy.AddIn.VS2022/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| HIGH | ILSpy/Properties/Resources.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …pCode.Decompiler.Tests/Semantics/TypeInferenceTests.cs | 1452 | // We filter those out to make the test more robust against changes. | COMMENT |
| MEDIUM | …er.Tests/Instrumentation/DecompilerEventSourceTests.cs | 46 | /// (e.g. the decompiled type's full name) to stay robust under parallel test runs. | COMMENT |
| MEDIUM | ILSpy.Tests/Instrumentation/ILSpyXEventSourceTests.cs | 50 | /// robust under parallel test runs. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ICSharpCode.Decompiler/FlowAnalysis/DataFlowVisitor.cs | 278 | /// Derived classes may add to this set of flags to ensure they don't forget to override an interesting method. | COMMENT |
| LOW | …SharpCode.Decompiler/CSharp/Resolver/CSharpResolver.cs | 149 | /// <remarks>Don't forget to also set CurrentTypeDefinition when setting CurrentMember; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …Decompiler.Generators/DecompilerSyntaxTreeGenerator.cs | 820 | paramName = "placeholder"; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …piler/IL/Instructions/CompoundAssignmentInstruction.cs | 311 | public bool IsLifted => false; // TODO: implement lifted user-defined compound assignments | CODE |